Update openresty.service.tpl

This commit is contained in:
midoks
2022-06-18 13:05:06 +08:00
parent 8a89a9594f
commit f3fec46e6c
@@ -3,8 +3,6 @@ Description=OpenResty is a dynamic web platform based on NGINX and LuaJIT.
After=network.target
[Service]
{$SERVER_PATH}
Type=forking
ExecStart={$SERVER_PATH}/openresty/bin/openresty -c {$SERVER_PATH}/openresty/nginx/conf/nginx.conf
ExecStop={$SERVER_PATH}/openresty/bin/openresty -s stop