althttpd systemd unit files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

althttpd systemd unit files

Carl Chave-2
Without commenting on the security (or lack thereof) of any of the
settings below, here are the systemd unit files I'm using on Centos.
As the documentation only provides an example for Xinetd I thought I'd
submit these for possible inclusion:

[root@www sodface]# cat /etc/systemd/system/althttpd@.service
[Unit]
Description=althttpd Per-Connection Server

[Service]
ExecStart=/home/sodface/symplate/bin/althttpd -root
/home/sodface/symplate/www -logfile
/home/sodface/symplate/log/althttpd.log -user sodface -jail 0
User=root
Group=root
StandardInput=socket

[root@www sodface]# cat /etc/systemd/system/althttpd.socket
[Unit]
Description=althttpd Socket

[Socket]
ListenStream=80
Accept=yes

[Install]
WantedBy=sockets.target
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users