lighttpd1.4/doc/systemd/lighttpd.socket

17 lines
379 B
SYSTEMD
Raw Normal View History

2024-12-23 15:10:16 +08:00
# please note: lighttpd.conf must contain directive:
# server.systemd-socket-activation = "enable"
[Unit]
Description=lighttpd socket
[Socket]
# Enable listening on http port
ListenStream=80
# To enable listening on https port, lighttpd config needs SSL setup
# https://wiki.lighttpd.net/Docs_SSL
#ListenStream=443
Service=lighttpd.service
[Install]
WantedBy=sockets.target