add ebuild for err: a plugin based XMPP chatbot

This commit is contained in:
2012-06-18 17:56:51 +04:00
parent 66625ff297
commit bf0ef20d7d
5 changed files with 125 additions and 0 deletions

View File

@ -0,0 +1,6 @@
ERR_CONFIG_PATH=/etc/err
ERR_PID_FILE=/var/run/err/err.pid
ERR_USER=err
ERR_GROUP=err

View File

@ -0,0 +1,12 @@
#!/sbin/runscript
depend() {
need net
}
start() {
ebegin "Starting errd..."
start-stop-daemon --start --pidfile ${PID_FILE} --exec /usr/bin/python2 -- /usr/bin/err.py -c ${ERR_CONFIG_PATH} -d -p ${ERR_PID_FILE} -u ${ERR_USER} -g ${ERR_GROUP}
eend $?
}