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