OSDN Git Service

New service: monerod.
authormobinmob <mobinmob@disroot.org>
Wed, 11 Aug 2021 21:16:25 +0000 (00:16 +0300)
committermobinmob <mobinmob@disroot.org>
Wed, 11 Aug 2021 21:16:25 +0000 (00:16 +0300)
usr/share/66/service/monerod [new file with mode: 0644]

diff --git a/usr/share/66/service/monerod b/usr/share/66/service/monerod
new file mode 100644 (file)
index 0000000..29ebb0c
--- /dev/null
@@ -0,0 +1,12 @@
+[main]
+@type = classic
+@version = 0.0.1
+@description = "monero daemon"
+@user = ( root )
+
+[start]
+@runas = monero
+@execute = ( monerod --non-interactive --config-file ${conf_file} )
+
+[environment]
+conf_file=!/etc/monerod.conf