www-apps/youp0m: new package
Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
parent
c82e295f42
commit
12310ca65d
4 changed files with 61 additions and 0 deletions
16
www-apps/youp0m/files/youp0m.init
Normal file
16
www-apps/youp0m/files/youp0m.init
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/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/
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue