You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/taskd/files/taskd.initd

17 lines
403 B

#!/sbin/runscript
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
need="net localmount"
command="/usr/bin/taskd"
command_args="server --data ${TASKDDATA:-/var/lib/taskd}"
pidfile="/run/taskd.pid"
start_stop_daemon_args="--user taskd:taskd"
command_background=1
extra_started_commands="reload"
reload() {
kill -HUP "$(cat $pidfile)"
}