summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/lib/systemd/system/monerod.service11
1 files changed, 7 insertions, 4 deletions
diff --git a/usr/lib/systemd/system/monerod.service b/usr/lib/systemd/system/monerod.service
index 6b0d4488..fbf3a2eb 100644
--- a/usr/lib/systemd/system/monerod.service
+++ b/usr/lib/systemd/system/monerod.service
@@ -3,13 +3,16 @@ Description=Monero Full Node
After=mullvad-daemon.service
# I do not fully understand all the options
#PartOf=mullvad-daemon.service
-Requisite=mullvad-daemon.service
+#Requisite=mullvad-daemon.service
# from tests, BindsTo will override Requisite? Why?
-#BindsTo=mullvad-daemon.service
+# BindsTo is stronger than PartOf
+# https://pychao.com/2021/02/24/difference-between-partof-and-bindsto-in-a-systemd-unit/
+BindsTo=mullvad-daemon.service
# StopPropagatedFrom functionality seems included in PartOf?
# from tests, StopPropagatedFrom also propagate restart? Why?
-# not realted: https://github.com/systemd/systemd/commit/ffec78c05bfc2e6458e05ee54256d0d766a36280
-StopPropagatedFrom=mullvad-daemon.service
+# difference between StopPropagatedFrom and BindsTo:
+# https://github.com/systemd/systemd/commit/ffec78c05bfc2e6458e05ee54256d0d766a36280
+#StopPropagatedFrom=mullvad-daemon.service
[Service]
User=xyz