更新factory v1.2.1
This commit is contained in:
Executable
+14
@@ -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
|
||||
Reference in New Issue
Block a user