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
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to