aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Brewer <tomboy64@sina.cn>2017-05-29 17:37:31 +0200
committerMatthew Brewer <tomboy64@sina.cn>2017-05-30 00:26:27 +0200
commite3bf6ad0559b9eb70e0dc4301d75298be7cd758c (patch)
tree2390edb7378f3b41cde387a64dcc21070d166cac /net-p2p/monero/files/monerod.service
parentadd dev-perl/RPM2-1.300.0.ebuild (diff)
downloadtbc-e3bf6ad0559b9eb70e0dc4301d75298be7cd758c.tar.gz
tbc-e3bf6ad0559b9eb70e0dc4301d75298be7cd758c.tar.bz2
tbc-e3bf6ad0559b9eb70e0dc4301d75298be7cd758c.zip
net-p2p/monero: new package
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-p2p/monero/files/monerod.service')
-rw-r--r--net-p2p/monero/files/monerod.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/monero/files/monerod.service b/net-p2p/monero/files/monerod.service
new file mode 100644
index 0000000..ef2a731
--- /dev/null
+++ b/net-p2p/monero/files/monerod.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Monero Daemon
+After=network.target
+
+[Service]
+User=monero
+ExecStart=/usr/bin/monerod --non-interactive $MONERO_OPTS
+ExecReload=/bin/kill -INT $MAINPID
+
+[Install]
+WantedBy=multi-user.target