summaryrefslogtreecommitdiff
path: root/pcr-testing/beanstalkd/beanstalkd@.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr-testing/beanstalkd/beanstalkd@.service')
-rw-r--r--pcr-testing/beanstalkd/beanstalkd@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr-testing/beanstalkd/beanstalkd@.service b/pcr-testing/beanstalkd/beanstalkd@.service
new file mode 100644
index 000000000..a6695b034
--- /dev/null
+++ b/pcr-testing/beanstalkd/beanstalkd@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Simple, fast work queue (%i)
+Documentation=man:beanstalkd(1)
+After=network.target
+
+[Service]
+User=nobody
+Group=nobody
+EnvironmentFile=/etc/conf.d/beanstalkd-%i
+ExecStart=/usr/bin/beanstalkd -l ${BEANSTALKD_LISTEN_ADDR} -p ${BEANSTALKD_LISTEN_PORT} ${BEANSTALKD_EXTRA}
+
+[Install]
+WantedBy=multi-user.target