mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-11 13:43:29 +01:00
2fac03e682
Make monerod use a PID file and let systemd know where that file is.
18 lines
299 B
Desktop File
18 lines
299 B
Desktop File
[Unit]
|
|
Description=Monero Full Node
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=monero
|
|
Group=monero
|
|
WorkingDirectory=~
|
|
|
|
Type=forking
|
|
PIDFile=/var/run/monerod.pid
|
|
|
|
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf \
|
|
--detach --pidfile /var/run/monerod.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|