Skip to content

Instantly share code, notes, and snippets.

@eriktodx
Created January 17, 2022 16:24
Show Gist options
  • Save eriktodx/cb8cc65d428364d9eb28ca84c375bb1a to your computer and use it in GitHub Desktop.
Save eriktodx/cb8cc65d428364d9eb28ca84c375bb1a to your computer and use it in GitHub Desktop.
/etc/systemd/system/monerod.service
[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