Skip to content

Instantly share code, notes, and snippets.

@VMatrix1900
Created January 1, 2025 16:01
Show Gist options
  • Save VMatrix1900/0eb0bb5d4017cad42dd79aa121d981c8 to your computer and use it in GitHub Desktop.
Save VMatrix1900/0eb0bb5d4017cad42dd79aa121d981c8 to your computer and use it in GitHub Desktop.
Systemd XMRig Service File
[Unit]
Description=XMRig Daemon
After=network.target
[Service]
Type=simple
ExecStart=/root/xmrig --config=/root/xmrig-config.json
Restart=always
User=root
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment