use systemd

This commit is contained in:
0xJacky 2022-02-18 16:55:01 +08:00
parent 03de36ff2e
commit ce850f5e59

10
nginx-ui.service Normal file
View file

@ -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