2
0

feat: update build

This commit is contained in:
simonzhangsz
2024-12-12 21:20:29 +08:00
parent 60a8af09be
commit 0417a1477e
4 changed files with 46 additions and 54 deletions

View File

@@ -3,12 +3,13 @@ Description=WANFi Controller Service
After=network.target
[Service]
Type=oneshot
RemainAfterExit=yes
WorkingDirectory=/opt/wfc/docker
Type=forking
#WorkingDirectory=/opt/wfc/docker
ExecStart=/opt/wfc/bin/wfccontrol.sh start
ExecStop=/opt/wfc/bin/wfccontrol.sh stop
TimeoutStartSec=0
ExecReload=/opt/wfc/bin/wfccontrol.sh status
ExecStartPost=/opt/wfc/bin/wfccontrol.sh version
PIDFile=/var/run/wfccontrol.pid
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target