mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 14:47:15 -07:00
utils/systemd: update service file
This commit is contained in:
@@ -1,20 +1,20 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Monero Full Node
|
Description=Monero Daemon
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=monero
|
|
||||||
Group=monero
|
|
||||||
WorkingDirectory=~
|
|
||||||
StateDirectory=monero
|
|
||||||
LogsDirectory=monero
|
|
||||||
|
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
|
ExecStart=/usr/local/bin/monerod --config-file /etc/monero/monerod.conf --non-interactive
|
||||||
StandardOutput=null
|
|
||||||
StandardError=null
|
|
||||||
|
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=30
|
||||||
|
|
||||||
|
User=monero
|
||||||
|
Group=monero
|
||||||
|
|
||||||
|
StandardOutput=journal
|
||||||
|
StandardError=journal
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user