mirror of
https://github.com/jostreff/ghost-rc.d-script.git
synced 2025-04-19 17:09:13 +03:00
Update pm2
This commit is contained in:
parent
151753477a
commit
b6c0333783
1 changed files with 3 additions and 6 deletions
9
pm2
9
pm2
|
@ -18,10 +18,8 @@
|
||||||
# add to /etc/rc.conf
|
# add to /etc/rc.conf
|
||||||
#
|
#
|
||||||
# pm2_enable="YES"
|
# pm2_enable="YES"
|
||||||
# pm2_user="freebsd"
|
# pm2_user="ghost"
|
||||||
# pm2_home="/home/freebsd"
|
#
|
||||||
|
|
||||||
|
|
||||||
# PROVIDE: pm2
|
# PROVIDE: pm2
|
||||||
# REQUIRE: NETWORK mongod mysql-server
|
# REQUIRE: NETWORK mongod mysql-server
|
||||||
# KEYWORD: shutdown
|
# KEYWORD: shutdown
|
||||||
|
@ -44,8 +42,7 @@ stop_cmd="pm2_stop"
|
||||||
restart_cmd="pm2_reload"
|
restart_cmd="pm2_reload"
|
||||||
describe_cmd="pm2_ls"
|
describe_cmd="pm2_ls"
|
||||||
|
|
||||||
: ${pm2_user="freebsd"}
|
: ${pm2_user="ghost"}
|
||||||
: ${pm2_home="/home/freebsd"}
|
|
||||||
: ${pm2_enable="NO"}
|
: ${pm2_enable="NO"}
|
||||||
|
|
||||||
pm2_start()
|
pm2_start()
|
||||||
|
|
Loading…
Add table
Reference in a new issue