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