瀏覽代碼

use systemd

0xJacky 3 年之前
父節點
當前提交
ce850f5e59
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      nginx-ui.service

+ 10 - 0
nginx-ui.service

@@ -0,0 +1,10 @@
+[Unit]
+Description=Yet another WebUI for Nginx
+Documentation=https://github.com/0xJacky/nginx-ui
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/local/bin/nginx-ui -d /usr/local/etc/nginx-ui
+TimeoutStopSec=5
+KillMode=mixed