monero/utils/systemd/monerod.service

22 lines
361 B
SYSTEMD
Raw Normal View History

[Unit]
2016-09-03 13:44:00 -06:00
Description=Monero Full Node
After=network.target
[Service]
2016-09-03 13:44:00 -06: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
PrivateTmp=true
[Install]
WantedBy=multi-user.target