diff options
author | mrxx | 2015-07-13 14:14:27 +0200 |
---|---|---|
committer | mrxx | 2015-07-13 14:14:27 +0200 |
commit | 84a09cc426d74d91f52ef59b2e6fd68a23b3f744 (patch) | |
tree | 04763f4702b592e252c950055956731fb9de1d49 /bozohttpd.service | |
parent | 159d741318f677f4e0d817081344e298507da531 (diff) | |
download | aur-84a09cc426d74d91f52ef59b2e6fd68a23b3f744.tar.gz |
Moved CGI directory to /usr/lib/cgi-bin, added samples
Diffstat (limited to 'bozohttpd.service')
-rw-r--r-- | bozohttpd.service | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bozohttpd.service b/bozohttpd.service index d8bc001f017d..d0c44911397e 100644 --- a/bozohttpd.service +++ b/bozohttpd.service @@ -7,13 +7,13 @@ After=network.target PIDFile=/run/bozohttpd.pid StandardOutput=null # Simplest use: -ExecStart=/usr/bin/bozohttpd -b -f -s -U nobody -P /run/bozohttpd.pid /srv/http/www +ExecStart=/usr/bin/bozohttpd -b -f -s -U nobody -P /run/bozohttpd.pid /srv/http # Enable directory index: -#ExecStart=/usr/bin/bozohttpd -b -f -s -U nobody -P /run/bozohttpd.pid -X /srv/http/www +#ExecStart=/usr/bin/bozohttpd -b -f -s -U nobody -P /run/bozohttpd.pid -X /srv/http # Enable CGI: -#ExecStart=/usr/bin/bozohttpd -b -f -s -U nobody -P /run/bozohttpd.pid -c /srv/http/cgi-bin /srv/http/www +#ExecStart=/usr/bin/bozohttpd -b -f -s -U nobody -P /run/bozohttpd.pid -c /usr/lib/cgi-bin /srv/http # Enable PHP and set default to index.php (instead of index.html): -#ExecStart=/usr/bin/bozohttpd -b -f -s -U nobody -P /run/bozohttpd.pid -x index.php -C .php /usr/bin/php-cgi /srv/http/www +#ExecStart=/usr/bin/bozohttpd -b -f -s -U nobody -P /run/bozohttpd.pid -x index.php -C .php /usr/bin/php-cgi /srv/http [Install] WantedBy=multi-user.target |