2022-10-05 07:33:55 -04:00
|
|
|
[Unit]
|
|
|
|
Description=Monero Full Node
|
|
|
|
After=network.target
|
|
|
|
#ConditionPathExists=/var/run/qubes-service/monerod
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=user
|
|
|
|
Group=user
|
2022-10-05 21:33:22 -04:00
|
|
|
Type=forking
|
2022-10-05 07:33:55 -04:00
|
|
|
PIDFile=/home/user/.bitmonero/monero.pid
|
2022-10-05 21:33:22 -04:00
|
|
|
ExecStart=/usr/bin/monerod --detach --data-dir=/home/user/.bitmonero \
|
2022-10-05 07:33:55 -04:00
|
|
|
--no-igd --pidfile=home/user/.bitmonero/monero.pid \
|
|
|
|
--log-file=/home/user/.bitmonero/bitmonero.log --p2p-bind-ip=127.0.0.1
|
|
|
|
Restart=always
|
|
|
|
PrivateTmp=true
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|