summaryrefslogtreecommitdiff
path: root/units/lighttpd-lorry-controller-webapp.service
blob: 0c04fac9deaefe3cf8f49a921bd6a48a2d724c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Lighttpd Web Server for Lorry Controller WEBAPP
After=network.target

[Service]
PermissionsStartOnly=true
User=lorry
Group=lorry
ExecStartPre=/usr/bin/install -d -o lorry -g lorry /run/lighttpd-lorry
ExecStart=/usr/sbin/lighttpd -f /etc/lighttpd/lorry-controller-webapp-httpd.conf -D
ExecStopPost=/bin/rm -r /run/lighttpd-lorry
Restart=always