monero/utils/systemd/monerod.service

21 lines
345 B
SYSTEMD
Raw Normal View History

[Unit]
2016-09-03 19:44:00 +00:00
Description=Monero Full Node
After=network.target
[Service]
2016-09-03 19:44:00 +00:00
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
Restart=always
[Install]
WantedBy=multi-user.target