Browse Source

use systemd

0xJacky 3 years ago
parent
commit
ce850f5e59
1 changed files with 10 additions and 0 deletions
  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