monero/utils/systemd/monerod.service

22 lines
361 B
SYSTEMD
Raw Normal View History

[Unit]
2016-09-03 22:44:00 +03:00
Description=Monero Full Node
After=network.target
[Service]
2016-09-03 22:44:00 +03: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