aboutsummaryrefslogtreecommitdiff
path: root/utils/systemd/monerod.service
diff options
context:
space:
mode:
author0xB44EFD8751077F97 <0xB44EFD8751077F97@users.noreply.github.com>2017-11-16 11:58:18 -0700
committer0xB44EFD8751077F97 <0xB44EFD8751077F97@users.noreply.github.com>2017-11-16 11:58:18 -0700
commitd73d7aca869f1b7ed7115df4e91286edebaed075 (patch)
tree7ffa59d758486fbc4dec3b6f4ee7dee6ba89146c /utils/systemd/monerod.service
parentMerge pull request #2818 (diff)
downloadmonero-d73d7aca869f1b7ed7115df4e91286edebaed075.tar.xz
Add two configuration options to monerod.service:
Restart=always PrivateTmp=true
Diffstat (limited to '')
-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