Created
January 17, 2022 16:24
-
-
Save eriktodx/cb8cc65d428364d9eb28ca84c375bb1a to your computer and use it in GitHub Desktop.
/etc/systemd/system/monerod.service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Monero Full Node | |
After=network.target | |
[Service] | |
User=monero | |
Group=monero | |
WorkingDirectory=~ | |
StateDirectory=monero | |
LogsDirectory=monero | |
Type=simple | |
Environment=DNS_PUBLIC=tcp://1.1.1.1 | |
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf --non-interactive | |
StandardOutput=null | |
StandardError=null | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment