nemunaire-overlay/www-apps/youp0m/files/youp0m.init
Pierre-Olivier Mercier 12310ca65d www-apps/youp0m: new package
Package-Manager: Portage-2.3.13, Repoman-2.3.3
2018-05-01 14:37:42 +02:00

17 lines
534 B
Plaintext

#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
command=/usr/bin/youp0m
command_args="-bind :8078"
pidfile=/var/run/youp0m/youp0m.pid
start_stop_daemon_args="--make-pidfile --background --user nobody --group nobody --chdir /var/lib/youp0m/ --stdout /var/log/youp0m/youp0m.log --stderr /var/log/youp0m/youp0m.log"
depend() {
need localmount net
}
start_pre() {
checkpath -d -m 0750 -o nobody:nobody /var/run/youp0m/ /var/lib/youp0m/ /var/log/youp0m/
}