mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
(startup) update-rc.d remove
This commit is contained in:
parent
b86a2cce05
commit
56d2a7681d
@ -95,12 +95,14 @@ module.exports = function(CLI) {
|
||||
Common.printOut(cst.PREFIX_MSG + 'Disabling and deleting old startup system');
|
||||
commands = [
|
||||
'update-rc.d pm2-init.sh disable',
|
||||
'update-rc.d -f pm2-init.sh remove',
|
||||
'rm /etc/init.d/pm2-init.sh'
|
||||
];
|
||||
break;
|
||||
case 'upstart':
|
||||
commands = [
|
||||
'update-rc.d pm2 disable',
|
||||
'update-rc.d -f pm2 remove',
|
||||
'rm /etc/init.d/pm2'
|
||||
];
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user