summaryrefslogtreecommitdiff
path: root/usr/lib/systemd/system/monerod.service
blob: d95a3ed8f373687e6d402406e65c33a418615ffe (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
[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=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

[Service]
User=xyz

Type=simple
ExecStart=/usr/bin/monerod --non-interactive
StandardOutput=null
StandardError=null

Restart=always

[Install]
WantedBy=multi-user.target