aboutsummaryrefslogtreecommitdiffstats
path: root/main/taskd/taskd.initd
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2017-03-05 18:36:10 +0800
committerNatanael Copa <ncopa@alpinelinux.org>2017-03-07 10:23:38 +0000
commitc6fe45df0377fd1c5085ddb283a26d4b3db4a60e (patch)
tree1594fe5e63da3ad29ad73c85bfc4d0f0fe8cf0af /main/taskd/taskd.initd
parent539095178295e48ad605ca4f72ea1a92216e7b1a (diff)
downloadaports-c6fe45df0377fd1c5085ddb283a26d4b3db4a60e.tar.gz
aports-c6fe45df0377fd1c5085ddb283a26d4b3db4a60e.tar.bz2
aports-c6fe45df0377fd1c5085ddb283a26d4b3db4a60e.tar.xz
main/taskd: Add init scripts
Diffstat (limited to 'main/taskd/taskd.initd')
-rw-r--r--main/taskd/taskd.initd12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/taskd/taskd.initd b/main/taskd/taskd.initd
new file mode 100644
index 0000000000..cbf86f9a6e
--- /dev/null
+++ b/main/taskd/taskd.initd
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+
+description="Secure server providing multi-user, multi-client access to task data"
+command=/usr/bin/taskd
+command_args="server --data /var/lib/taskd"
+
+start_stop_daemon_args="--user taskd:taskd"
+
+depend() {
+ need net
+ after firewall
+}