mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
#2707 avoid Restart=always with systemd (pid refresh problem)
This commit is contained in:
parent
2a1449536c
commit
1f855da544
@ -12,8 +12,6 @@ LimitCORE=infinity
|
||||
TimeoutStartSec=8
|
||||
Environment=PATH=%NODE_PATH%:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
|
||||
Environment=PM2_HOME=%HOME_PATH%
|
||||
Restart=always
|
||||
RestartSec=8
|
||||
PIDFile=%HOME_PATH%/pm2.pid
|
||||
|
||||
ExecStart=%PM2_PATH% resurrect
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user