Files
guru/app-misc/oddjob/files/oddjob.init.d
Christopher Byrne ad0022603b app-misc/oddjob: new package, add 0.34.7
Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
2023-10-11 15:19:56 -05:00

22 lines
431 B
D

#!/sbin/openrc-run
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
depend() {
after netmount localmount
need dbus
}
start() {
ebegin "Starting oddjobd"
start-stop-daemon -p /run/lock/oddjobd.pid \
--exec /usr/sbin/oddjobd --start -- -p /run/lock/oddjobd.pid
eend $?
}
stop() {
ebegin "Stopping oddjobd"
start-stop-daemon -p /run/lock/oddjobd.pid --stop
eend $?
}