Simple Linux Panel
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.
mdserver-web/plugins/openresty/init.d/openresty.service.tpl

14 lines
367 B

[Unit]
Description=OpenResty is a dynamic web platform based on NGINX and LuaJIT.
After=network.target
[Service]
Type=forking
ExecStart=/usr/local/open/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
ExecStop=/usr/local/nginx/sbin/nginx -s stop
ExecReload=/usr/local/nginx/sbin/nginx -s reload
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target