更新factory v1.2.1

This commit is contained in:
2025-09-23 15:09:13 +08:00
parent 68970ffd4e
commit c28b433aa1
8 changed files with 82 additions and 19 deletions
+14
View File
@@ -0,0 +1,14 @@
[Unit]
Description = yz-npc
After = ssh.service
[Service]
Type = simple
WorkingDirectory = /yuzhen_iot/prod_manage/app
ExecStart = /yuzhen_iot/prod_manage/app/npc -config=/yuzhen_iot/prod_manage/cfg/npc.conf
StartLimitIntervalSec=0
Restart=always
RestartSec=1
[Install]
WantedBy = multi-user.target