Skip to content
Snippets Groups Projects
openresty-voms.service 442 B
Newer Older
Elisabetta Ronchieri's avatar
Elisabetta Ronchieri committed
[Unit]
Description=The OpenResty Application Platform
After=syslog.target network.target remote-fs.target nss-lookup.target

[Service]
Type=forking
PIDFile=/usr/local/openresty-voms/nginx/logs/nginx.pid
ExecStartPre=/usr/local/openresty-voms/nginx/sbin/nginx -t
ExecStart=/usr/local/openresty-voms/nginx/sbin/nginx
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true

[Install]
WantedBy=multi-user.target