blob: fbf3a2eb9f3c59a07a3498c426a6908b139462a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
[Unit]
Description=Monero Full Node
After=mullvad-daemon.service
# I do not fully understand all the options
#PartOf=mullvad-daemon.service
#Requisite=mullvad-daemon.service
# from tests, BindsTo will override Requisite? Why?
# 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?
# difference between StopPropagatedFrom and BindsTo:
# https://github.com/systemd/systemd/commit/ffec78c05bfc2e6458e05ee54256d0d766a36280
#StopPropagatedFrom=mullvad-daemon.service
[Service]
User=xyz
Type=simple
ExecStart=/usr/bin/monerod --non-interactive
StandardOutput=null
StandardError=null
Restart=always
[Install]
WantedBy=multi-user.target
|