diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2025-08-21 17:02:08 +0200 |
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2025-08-21 17:06:14 +0200 |
| commit | f146f24c652b130451e2e06ad10b84c2a7c704f2 (patch) | |
| tree | ea3f7c56552f20c511cd5aded83af4f8462e65fb /files/etc | |
| parent | 1d286bd2dce540fca7957ff7c9c7bbda20f5dca1 (diff) | |
CGI: Propagate stops from PostgreSQL.
Diffstat (limited to 'files/etc')
| -rw-r--r-- | files/etc/systemd/system/webmap-cgi.service | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/files/etc/systemd/system/webmap-cgi.service b/files/etc/systemd/system/webmap-cgi.service deleted file mode 100644 index 88f22e5..0000000 --- a/files/etc/systemd/system/webmap-cgi.service +++ /dev/null @@ -1,36 +0,0 @@ -[Unit] -Description=Webmap CGI (Common Gateway Interface) -After=syslog.target network.target postgresql.service - -[Service] -DynamicUser=yes -User=_webmap-cgi -# Note: the "WARNING: you have enabled harakiri without post buffering" can -# be ignored because body requests are in fact buffered on the nginx side -ExecStart=/usr/bin/uwsgi -M -p2 \ - --single-interpreter --die-on-term \ - --close-on-exec --close-on-exec2 \ - --max-requests 1000 \ - --max-worker-lifetime 86400 \ - --max-worker-lifetime-delta 11 \ - --harakiri 60 \ - --lazy-apps \ - --plugins python3 \ - --pythonpath /usr/local/share/webmap \ - --wsgi-file /usr/libexec/webmap-cgi -Nice=10 -RestartSec=15s -Restart=always - -# Hardening -NoNewPrivileges=yes -ProtectHome=yes -ProtectSystem=strict -PrivateDevices=yes -ProtectControlGroups=yes -ProtectKernelModules=yes -ProtectKernelTunables=yes -RestrictAddressFamilies=AF_UNIX - -[Install] -WantedBy=multi-user.target |
