summaryrefslogtreecommitdiff
path: root/doc/systemd/lighttpd.socket
blob: 7e0e58440301932392603a2541dd48f6fa37174e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_SSL
#ListenStream=443
Service=lighttpd.service

[Install]
WantedBy=sockets.target