12 Commits

Author SHA1 Message Date
pva
0bcee6f8d1 Improve gentoo init script (#2849)
Use default start() function that is configured with command* variables.
It'll use start-stop-daemon to start daemon and check that pidfile was
created.

Allow user to override user that will be used to run pm2 daemon. As a
consequence install init script with pm2 name instead of pm2-root.

Provide some information on how to start services aftewards.

Make reload function working.
2017-05-21 01:28:31 +02:00
vmarchaud
cd4e201215 (startup) drop start timeout #2765 2017-03-16 00:44:52 +01:00
Unitech
1f855da544 #2707 avoid Restart=always with systemd (pid refresh problem) 2017-02-19 15:07:11 +01:00
Max Mathieu
501c4d3954 Make sure pm2 does not fill up systemd logs 2017-02-10 14:15:21 -05:00
vmarchaud
61a7197c8d (startup) increase restart timeout for systemd #2674 2017-02-01 17:05:08 +01:00
Tomofumi Hayashi
7ab7b0f107 Support openrc (gentoo linux). 2017-01-12 20:48:58 +09:00
vmarchaud
dabf2ba225 (startup tmpl) wrong cmd for systemd #2590 2016-12-21 14:10:30 +01:00
Unitech
b86a2cce05 (startup) minor fix on command lines + add every PATH on systemd env 2016-12-08 01:50:33 +01:00
Unitech
c556faa14d (startup) keepalive launchd 2016-12-06 14:43:12 +01:00
Unitech
cf1151c163 (startup) launchd fixes for MacOSx 2016-12-06 14:37:31 +01:00
Unitech
67d19e4e3b (startup) autodetect platform + fix systemd file + fix upstart file + do not launch PM2 as root on startup commands + pm2 unstartup 2016-12-06 02:09:00 +01:00
Unitech
1dc0d5b9ec (startup refactor) 2016-12-04 19:23:18 +01:00