Система трансляции экранов компьютеров учеников на доску
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.
 
 
 
 
 
doskast/webserver/doskast-board-webserver.ser...

16 lines
463 B

# 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