diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2016-01-03 04:16:09 +0100 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2016-01-03 04:16:28 +0100 |
commit | 7f160a94b6de1fc576d72c6720b0fd666a205337 (patch) | |
tree | 925e7b11045d761b0523c10f1250e9e246130815 /app-misc/taskd/files | |
parent | games-roguelike/dwarf-fortress: Fix running with GCC 5 (diff) | |
download | gentoo-7f160a94b6de1fc576d72c6720b0fd666a205337.tar.gz gentoo-7f160a94b6de1fc576d72c6720b0fd666a205337.tar.bz2 gentoo-7f160a94b6de1fc576d72c6720b0fd666a205337.zip |
app-misc/taskd: initial commit
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-misc/taskd/files')
-rw-r--r-- | app-misc/taskd/files/config | 17 | ||||
-rw-r--r-- | app-misc/taskd/files/taskd.confd | 1 | ||||
-rw-r--r-- | app-misc/taskd/files/taskd.initd | 16 |
3 files changed, 34 insertions, 0 deletions
diff --git a/app-misc/taskd/files/config b/app-misc/taskd/files/config new file mode 100644 index 000000000000..51a8cddf7992 --- /dev/null +++ b/app-misc/taskd/files/config @@ -0,0 +1,17 @@ +confirmation=1 +extensions=/usr/libexec/taskd +ip.log=on +log=/var/log/taskd/taskd.log +pid.file=/run/taskd.pid +queue.size=10 +request.limit=1048576 +root=/var/lib/taskd +server=localhost:53589 +trust=strict +verbose=1 +# TLS config: +#ciphers= +#ca.cert=/etc/taskd/tls/ca.pem +#server.cert=/etc/taskd/tls/server.crt.pem +#server.crl=/etc/taskd/tls/server.crl.pem +#server.key=/etc/taskd/tls/server.key.pem diff --git a/app-misc/taskd/files/taskd.confd b/app-misc/taskd/files/taskd.confd new file mode 100644 index 000000000000..aadbc6e8f741 --- /dev/null +++ b/app-misc/taskd/files/taskd.confd @@ -0,0 +1 @@ +TASKDDATA="/var/lib/taskd" diff --git a/app-misc/taskd/files/taskd.initd b/app-misc/taskd/files/taskd.initd new file mode 100644 index 000000000000..bbee5216694e --- /dev/null +++ b/app-misc/taskd/files/taskd.initd @@ -0,0 +1,16 @@ +#!/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)" +} |