소스 검색

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