Skip to content

Instantly share code, notes, and snippets.

@jstn
Created March 30, 2016 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jstn/b12e1964bfa32673d4a69aab22addfaf to your computer and use it in GitHub Desktop.
Save jstn/b12e1964bfa32673d4a69aab22addfaf to your computer and use it in GitHub Desktop.
systemd service for netdata
[Unit]
Description=netdata
After=network.service
Requires=network.service
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/usr/sbin/netdata
ExecStop=/usr/bin/killall netdata
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment