aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-12-02 09:22:29 +0200
committerRiccardo Spagni <ric@spagni.net>2017-12-02 09:22:29 +0200
commit7227cde3dc28b48f0c9fc2014202e3c6e8ab7b29 (patch)
treeeb7d1cf7fc10b9e3951f5bb68964ac88e76e4b47
parentMerge pull request #2830 (diff)
parentAdd two configuration options to monerod.service: (diff)
downloadmonero-7227cde3dc28b48f0c9fc2014202e3c6e8ab7b29.tar.xz
Merge pull request #2831
d73d7aca Add two configuration options to monerod.service: (0xB44EFD8751077F97)
-rw-r--r--utils/systemd/monerod.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/systemd/monerod.service b/utils/systemd/monerod.service
index 96e88a2d3..b6b6b6ce6 100644
--- a/utils/systemd/monerod.service
+++ b/utils/systemd/monerod.service
@@ -14,5 +14,8 @@ PIDFile=/run/monero/monerod.pid
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf \
--detach --pidfile /run/monero/monerod.pid
+Restart=always
+PrivateTmp=true
+
[Install]
WantedBy=multi-user.target