xref: /lighttpd1.4/doc/systemd/lighttpd.socket (revision 4f0261e5)
1# please note: lighttpd.conf must contain directive:
2#   server.systemd-socket-activation = "enable"
3
4[Unit]
5Description=lighttpd socket
6
7[Socket]
8# Enable listening on http port
9ListenStream=80
10# To enable listening on https port, lighttpd config needs SSL setup
11# https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_SSL
12#ListenStream=443
13Service=lighttpd.service
14
15[Install]
16WantedBy=sockets.target
17