new services

This commit is contained in:
2015-08-13 19:41:27 +03:00
parent 0c138b476a
commit b980138f40
6 changed files with 34 additions and 0 deletions

9
init.d/prosody Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env watchman
_prosodyctl='/usr/bin/prosodyctl'
start() { "$_prosodyctl" start; }
stop() { "$_prosodyctl" stop; }
restart() { "$_prosodyctl" restart; }
reload() { "$_prosodyctl" reload; }
status() { "$_prosodyctl" status; }