Initial commit
This commit is contained in:
commit
38824afd62
5 changed files with 87 additions and 0 deletions
13
files/matterbridge.init
Normal file
13
files/matterbridge.init
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
PNAME=${SVCNAME#*.}
|
||||
|
||||
name="matterbridge ${PNAME}"
|
||||
command="/usr/bin/matterbridge"
|
||||
command_args="-conf ${CONFIG_FILE}"
|
||||
pidfile="/var/run/${SVCNAME}.pid"
|
||||
start_stop_daemon_args="--stdout /var/log/matterbridge/${SVCNAME}.log --stderr /var/log/matterbridge/${SVCNAME}.log -b -m -p $pidfile -u nobody -g nogroup"
|
||||
|
||||
depend() {
|
||||
after net
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue