28 Commits

Author SHA1 Message Date
--global
f2714c7385 disable auto dump on stop [#1035 #1055] 2016-02-29 19:41:31 +01:00
Shahar Mor
9c76d30cc5 load configuration from /etc/default/pm2 2015-12-20 11:32:02 +02:00
Miguel Fonseca
4ffa70c720 Set PM2_HOME on the user session starting pm2. 2015-04-27 13:59:35 +01:00
Adam Ever-Hadani
17e1b29715 support use case of user's shell being empty in /etc/passwd for pm2-init.sh script (Issue #1195) 2015-04-20 10:45:09 -07:00
Adam Ever-Hadani
e7954199b5 default to jimmoefoe in pm2-init.sh if %USER% is not set 2015-04-02 07:30:37 -07:00
Adam Ever-Hadani
85fb58ce88 checking for existing user shell first before defaulting to /bin/bash in pm2-init.sh 2015-04-01 11:29:26 -07:00
Adam Ever-Hadani
f5b918fe31 use bash shell by default in pm2 ubuntu init script 2015-03-31 16:25:05 -07:00
jstans
93f2298dfe Update pm2-init.sh 2015-03-24 23:44:05 +00:00
abluchet
0996f7bccb Startup refractor
- replaced all instances of `sudo` by native `su`
- startup scripts are called with su -c "cmd"
- improved code (less repetitions)
- user is added to the init script but isn't the one that fix permission and put the upstart script
2014-07-04 10:01:38 +02:00
soyuka
b173c44b54 (upstart) Reload user environnement on sudo 2014-07-04 08:01:20 +02:00
abluchet
0a934f506a Fix #543 2014-07-02 17:36:09 +02:00
tknew2
16bb581369 merge fix 2014-07-01 14:33:57 +02:00
UnrealQuester
643e7b43c1 Add force-reload to upstart script
The LSB core spec specifies that all init scripts shall have a force-reload action that ensures that the configuration file is reloaded. This is often implemented by restarting the service. But as pm2 supports reloading configuration files without restarting, force-reload can just point to reload.
2014-06-29 19:31:15 +02:00
Simon Lopez
355a1b661e Allow user to specify the PM2 Home folder using PM2_HOME environment variable 2014-04-07 17:15:40 +02:00
Juozas Valenčius
5d5d5c4e29 execute status as $USER 2014-02-05 10:55:03 +02:00
tknew2
2987a48264 centos redhat init script 2014-01-27 17:07:24 +01:00
tknew2
8dd460ba38 harmony options passed on runtime to NodeJS - init script modified to not execute NODE to enable option passing on startup - pm2 PID file written on .pm2 - gracefull pm2 exit 2014-01-15 23:37:17 +01:00
tknew2
512dd0e179 edit startup script to be enable to use node arguments 2014-01-15 21:25:30 +01:00
MATSUU Takuto
8bea88672d add reload to startup script 2013-12-26 14:29:11 +09:00
tknew2
76b32716c3 fix startup script to execute with sudo -u 2013-11-13 11:49:34 +01:00
Alexandre Strzelewicz
1aeba9f194 #135 0.6.5 2013-10-27 22:54:24 +01:00
Alexandre Strzelewicz
174bba1293 #92 now startup script exec pm2 with the given user instead of root 2013-10-16 14:35:38 +02:00
Ed Hubbell
85661d29e3 Update pm2-init.sh
removed pm2 from Required-Start; Added Default-Start and Default-Stop parameters.  Tested on Debian Wheezy.
2013-09-25 20:43:38 -04:00
Alexandre Strzelewicz
b9f2570a19 #57 Centos startup script 2013-08-19 19:48:13 +02:00
Mark Evans
2b964d784b Remove NPM2 variable as this is unused and causes the help information to be displayed when running status / stop / start commands 2013-07-20 08:40:18 +00:00
Alexandre Strzelewicz
8e154bc9a1 fix init script 2013-07-16 12:05:14 +02:00
Josh Skidmore
7c3a0de4ad Misspelling of resurrect in init.d script is preventing processes from being resurrected at startup 2013-06-26 11:53:13 -04:00
Alexandre Strzelewicz
278d324cf0 update README - startup script 2013-06-07 16:29:42 +08:00