aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gearmand/gearmand.initd
diff options
context:
space:
mode:
authorAaron Hurt <ahurt@ena.com>2016-06-09 13:57:20 -0500
committerJakub Jirutka <jakub@jirutka.cz>2016-06-17 02:03:46 +0200
commit1d12b9eb04b0c3f8c63711843ad7ff351af79087 (patch)
tree37d4c1146a818e1eec00d7e8963f6b779a582fa0 /testing/gearmand/gearmand.initd
parentce73ece7e051ab9ecf7a77e4a3a73cc5687080e9 (diff)
downloadaports-1d12b9eb04b0c3f8c63711843ad7ff351af79087.tar.bz2
aports-1d12b9eb04b0c3f8c63711843ad7ff351af79087.tar.xz
testing/gearmand: new aport
http://gearman.org A distributed job queue
Diffstat (limited to 'testing/gearmand/gearmand.initd')
-rw-r--r--testing/gearmand/gearmand.initd16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/gearmand/gearmand.initd b/testing/gearmand/gearmand.initd
new file mode 100644
index 0000000000..cae406efd8
--- /dev/null
+++ b/testing/gearmand/gearmand.initd
@@ -0,0 +1,16 @@
+#!/sbin/openrc-run
+
+name="gearmand"
+description="Gearman server"
+
+command="/usr/sbin/gearmand"
+command_args="-d $gearmand_opts"
+command_background="yes"
+
+pidfile="/run/${RC_SVCNAME}.pid"
+start_stop_daemon_args="--user=$gearmand_user:$gearmand_group"
+
+depend() {
+ need net localmount
+ after firewall
+}