You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
463 B
17 lines
463 B
2 years ago
|
# based on nginx.service
|
||
|
|
||
|
[Unit]
|
||
|
Description=Webserver for Doskast board
|
||
|
After=syslog.target network.target remote-fs.target nss-lookup.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
PIDFile=/run/doskast-nginx.pid
|
||
|
ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/doskast-nginx.conf
|
||
|
ExecStart=/usr/sbin/nginx -c /etc/nginx/doskast-nginx.conf
|
||
|
ExecReload=/usr/sbin/nginx -c /etc/nginx/doskast-nginx.conf -s reload
|
||
|
ExecStop=/usr/sbin/nginx -s quit
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|