You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
615 B
23 lines
615 B
8 years ago
|
[Unit]
|
||
8 years ago
|
Description=Monero Full Node
|
||
8 years ago
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
8 years ago
|
User=monero
|
||
|
Group=monero
|
||
8 years ago
|
WorkingDirectory=~
|
||
|
|
||
|
Type=forking
|
||
8 years ago
|
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf --detach
|
||
8 years ago
|
|
||
8 years ago
|
# This is necessary because monerod does not yet support
|
||
8 years ago
|
# writing a PID file, which means systemd tries to guess the PID
|
||
|
# by default, but it guesses wrong (sometimes, depending on
|
||
|
# random timing of events), because the daemon forks twice.
|
||
|
# The ultimate fix is for the daemon to write a PID file, and
|
||
|
# a workaround is to disable the guessing feature in systemd.
|
||
|
GuessMainPID=no
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|