mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-14 07:03:29 +01:00
df322ddde5
monerod runs as user monero which does not have write permissions for /var/run. Use systemd's RuntimeDirectory feature to handle this.
19 lines
329 B
Desktop File
19 lines
329 B
Desktop File
[Unit]
|
|
Description=Monero Full Node
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=monero
|
|
Group=monero
|
|
WorkingDirectory=~
|
|
RuntimeDirectory=monero
|
|
|
|
Type=forking
|
|
PIDFile=/run/monero/monerod.pid
|
|
|
|
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf \
|
|
--detach --pidfile /run/monero/monerod.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|