diff options
author | mrxx | 2016-03-13 21:37:01 +0100 |
---|---|---|
committer | mrxx | 2016-03-13 21:37:01 +0100 |
commit | 4bde63ac48be0e1f496ee3e43260e0f4b9a68db6 (patch) | |
tree | 4dffc83693327fb77ce42e7578e51bbfc3ede5d8 /bozohttpd.service | |
parent | 84a09cc426d74d91f52ef59b2e6fd68a23b3f744 (diff) | |
download | aur-4bde63ac48be0e1f496ee3e43260e0f4b9a68db6.tar.gz |
Added Lua support
Diffstat (limited to 'bozohttpd.service')
-rw-r--r-- | bozohttpd.service | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bozohttpd.service b/bozohttpd.service index d0c44911397e..5d3203889e2b 100644 --- a/bozohttpd.service +++ b/bozohttpd.service @@ -6,14 +6,21 @@ After=network.target [Service] PIDFile=/run/bozohttpd.pid StandardOutput=null +# # Simplest use: ExecStart=/usr/bin/bozohttpd -b -f -s -U nobody -P /run/bozohttpd.pid /srv/http -# Enable directory index: +# +# Enable directory indexing: #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 /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 +# +# Enable Lua scripting: +#ExecStart=/usr/bin/bozohttpd -L rest /usr/lib/cgi-bin/printenv.lua -b -f -s -U nobody -P /run/bozohttpd.pid /srv/http [Install] WantedBy=multi-user.target |