]> git.ekhem.eu.org Git - gdrive_proxy.git/commitdiff
Run multiple processes for fcgiwrap.
authorJakub Czajka <jakub@ekhem.eu.org>
Tue, 21 Nov 2023 23:33:48 +0000 (00:33 +0100)
committerJakub Czajka <jakub@ekhem.eu.org>
Mon, 4 Dec 2023 02:18:42 +0000 (03:18 +0100)
fcgiwrap.service [new file with mode: 0644]

diff --git a/fcgiwrap.service b/fcgiwrap.service
new file mode 100644 (file)
index 0000000..b83d655
--- /dev/null
@@ -0,0 +1,14 @@
+[Unit]
+Description=Simple CGI Server
+After=nss-user-lookup.target
+Requires=fcgiwrap.socket
+
+[Service]
+Environment=DAEMON_OPTS=-f
+EnvironmentFile=-/etc/default/fcgiwrap
+ExecStart=/usr/sbin/fcgiwrap ${DAEMON_OPTS} -c4
+User=www-data
+Group=www-data
+
+[Install]
+Also=fcgiwrap.socket