Add dam-dir OpenRC initscript to common rootfs-overlay.
This commit is contained in:
parent
33ecc986e7
commit
eecef93fb5
|
|
@ -0,0 +1,17 @@
|
|||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command=/home/decode/go/bin/dam-dir
|
||||
pidfile=/var/run/dam-dir.pid
|
||||
|
||||
description="Tor DAM server"
|
||||
|
||||
depend() {
|
||||
after logger
|
||||
}
|
||||
|
||||
start() {
|
||||
start-stop-daemon --start -u decode -g decode \
|
||||
--pidfile $pidfile -b -m -x $command
|
||||
}
|
||||
Loading…
Reference in New Issue