net-irc/webircgateway: new package
This commit is contained in:
parent
aad0f1ec09
commit
cc62558ace
3 changed files with 65 additions and 0 deletions
12
net-irc/webircgateway/files/webircgateway.init
Normal file
12
net-irc/webircgateway/files/webircgateway.init
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command=/usr/bin/webircgateway
|
||||
command_args="-config /etc/kiwiirc-webircgateway.conf"
|
||||
pidfile=/var/run/webircgateway/webircgateway.pid
|
||||
start_stop_daemon_args="--make-pidfile --background --user nobody --group nobody --chdir /var/run/webircgateway --stdout /var/log/webircgateway/webircgateway.log --stderr /var/log/webircgateway/webircgateway.log"
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -m 0750 -o nobody:nobody /var/run/webircgateway/ /var/log/webircgateway/
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue