From Ungracious Meerkat, 3 Months ago, written in Plain Text.
  1. [Unit]
  2. Description=network traffic monitor
  3. Requires=network.target
  4. After=network.target
  5.  
  6. [Service]
  7. Type=simple
  8. RemainAfterExit=yes
  9. ExecStart=/usr/sbin/vnstat
  10. Restart=always
  11. RestartSec=5s
  12.  
  13. [Install]
  14. WantedBy=multi-user.target
  15.  
captcha