aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sopel/sopel.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/sopel/sopel.initd')
-rw-r--r--testing/sopel/sopel.initd11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/sopel/sopel.initd b/testing/sopel/sopel.initd
new file mode 100644
index 0000000000..bc616a97e1
--- /dev/null
+++ b/testing/sopel/sopel.initd
@@ -0,0 +1,11 @@
+#!/sbin/openrc-run
+
+command="/usr/bin/sopel"
+command_args="-c $CONFIG_PATH"
+pidfile="/run/sopel.pid"
+command_background=true
+command_user="sopel:sopel"
+
+depend() {
+ need net
+}