43 Commits

Author SHA1 Message Date
Christian Sturm
e2797c7207 fix typo
it's stopping, not stoping.
2015-10-05 10:14:35 +02:00
Antoine Bluchet
3cbcfda474 Merge branch 'development' into logrotate 2015-07-29 16:06:59 +02:00
jasin
edfc848388 Update pm2-freebsd.sh
Sorry, I missed this change.

Changed to reflect %PM2_PATH%
2015-07-20 14:34:14 -04:00
jasin
b6145879c7 Update and rename pm2.freebsd to pm2-freebsd.sh
added %USER%
2015-07-20 13:48:42 -04:00
soyuka
7f894a2593 fix #1415 add logrotate command 2015-07-20 10:43:57 +02:00
jasin
fb241cff35 Create pm2.freebsd
RC.script file for FreeBSD. This needs to go in /etc/rc.d/ and then you need to edit /etc/rc.conf and add these two lines

pm2_enable="yes"
pm2_user="" <-- user that you want pm2 to be ran as, default root user
2015-07-19 16:21:55 -04:00
Unitech
000bd919c5 restore postinstall script 2015-06-11 15:35:59 +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
1d54aa5026 Update pm2 2015-03-24 23:44:51 +00:00
jstans
dbcd292a69 Update pm2-init-amazon.sh 2015-03-24 23:44:40 +00:00
jstans
b674a92549 Update pm2-init-centos.sh 2015-03-24 23:44:27 +00:00
jstans
93f2298dfe Update pm2-init.sh 2015-03-24 23:44:05 +00:00
Jakub Knejzlik
45a3b7e5c6 darwin script startup fix on yosemite 2015-02-02 19:43:13 +01:00
Tjatse
618e2da660 1. Make platform auto detecting. 2. Support darwin startup script. 2015-01-13 15:56:25 +08:00
Tjatse
5259bc4605 fix: HOME not equals PM2_HOME. 2015-01-13 15:55:42 +08:00
Joshua Perry
5cfd869bed Add support for Gentoo startup script 2014-07-23 15:31:31 -06: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
Carson Darling
602677f5e8 Added support for Amazon Linux startup script
Script is based heavily off of the CentOS/Redhat script, with the calls to super removed.
2014-04-07 23:13:25 -04: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
Willian
2bd9225e85 Add startup support for systemd based distros 2014-03-06 17:32:02 -03:00
Juozas Valenčius
5d5d5c4e29 execute status as $USER 2014-02-05 10:55:03 +02:00
tknew2
a99c485de9 fix init script and add help message 2014-01-27 17:18:49 +01: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