libwebsockets/lwsws/usr-lib-systemd-system-lwsws.service
Andy Green 11fdbd8402 lwsws: logging: use stderr not syslog directly
systemd is completely at home using stderr logging to the journal,
without needing syslog apis.
2018-09-11 18:27:59 +08:00

13 lines
216 B
Desktop File

[Unit]
Description=Libwebsockets Web Server
After=syslog.target
[Service]
ExecStart=/usr/local/bin/lwsws
ExecReload=/usr/bin/kill -HUP $MAINPID
ExecStop=/usr/bin/killall lwsws
[Install]
WantedBy=multi-user.target