2019-02-19 15:18:33 +00:00
|
|
|
#!/sbin/openrc-run
|
|
|
|
# Copyright 1999-2019 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
command=/usr/bin/eurocollec
|
|
|
|
command_args="-bind :8074"
|
2019-09-03 19:05:59 +00:00
|
|
|
pidfile=/var/run/eurocollec/eurocollec.pid
|
2019-02-19 15:18:33 +00:00
|
|
|
start_stop_daemon_args="--make-pidfile --background --user nobody --group nobody --stdout /var/log/eurocollec/eurocollec.log --stderr /var/log/eurocollec/eurocollec.log"
|
|
|
|
|
|
|
|
depend() {
|
|
|
|
need localmount mysql net
|
|
|
|
}
|
|
|
|
|
|
|
|
start_pre() {
|
|
|
|
checkpath -d -m 0750 -o nobody:nobody /var/run/eurocollec/ /var/log/eurocollec/
|
|
|
|
}
|