summarylogtreecommitdiffstats
path: root/boinc.initd
diff options
context:
space:
mode:
authorShyanJMC2021-06-26 19:47:46 -0300
committerShyanJMC2021-06-26 19:47:46 -0300
commit15f0500f6c3de34acad3dc1810f781f8e0a90d53 (patch)
tree6b007f68d24dbbc69725ee58472e0248d7edd407 /boinc.initd
parentec3533051a30427c0f1f7b06f59a6bf31077e6e8 (diff)
downloadaur-15f0500f6c3de34acad3dc1810f781f8e0a90d53.tar.gz
Added BOINC file and template.
Diffstat (limited to 'boinc.initd')
-rw-r--r--boinc.initd20
1 files changed, 20 insertions, 0 deletions
diff --git a/boinc.initd b/boinc.initd
new file mode 100644
index 000000000000..7d875f0e0eb9
--- /dev/null
+++ b/boinc.initd
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+
+command="/usr/bin/boinc"
+
+command_args="--allow_remote_gui_rpc --redirectio --dir /var/lib/bonc"
+pidfile="/var/run/${RC_SVCNAME}.pid"
+command_args_background="--daemon"
+
+name=boinc
+
+depend() {
+ need net
+ use dns logger netmount
+}
+
+command_background=true
+
+command_user="boinc:boinc"
+
+