From: Jakub Czajka Date: Tue, 21 Nov 2023 23:33:48 +0000 (+0100) Subject: Run multiple processes for fcgiwrap. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=2d8ae6c5e36ae832994effd8b8c3725d6301b76e;p=gdrive_proxy.git Run multiple processes for fcgiwrap. --- diff --git a/fcgiwrap.service b/fcgiwrap.service new file mode 100644 index 0000000..b83d655 --- /dev/null +++ b/fcgiwrap.service @@ -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