aboutsummaryrefslogtreecommitdiffstats
path: root/community/captagent/captagent.initd
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-09-19 17:16:55 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-09-19 17:16:55 +0300
commit8c160033aa9cc65eb70f6e5891876dc6c6d6fd88 (patch)
tree2ebb70d7ba8043a79faff5d655b4771539f1decd /community/captagent/captagent.initd
parent7547f7f037074bab2017d95befcb34b62d9fd0cb (diff)
downloadaports-8c160033aa9cc65eb70f6e5891876dc6c6d6fd88.tar.bz2
aports-8c160033aa9cc65eb70f6e5891876dc6c6d6fd88.tar.xz
Revert "main/captagent: moved from community"
Diffstat (limited to 'community/captagent/captagent.initd')
-rw-r--r--community/captagent/captagent.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/captagent/captagent.initd b/community/captagent/captagent.initd
new file mode 100644
index 0000000000..4d5d8b9eb7
--- /dev/null
+++ b/community/captagent/captagent.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+
+# init.d file for captagent
+# Copyright (c) 2017 Kaarle Ritvanen
+
+name=captagent
+command=/usr/bin/$name
+command_args=-d
+pidfile=/var/run/$name.pid
+
+depend() {
+ need net
+}