Skip to content

Instantly share code, notes, and snippets.

@sinaris76
sinaris76 / README.md
Created February 3, 2018 13:47 — forked from ewenchou/README.md
Run Python script as systemd service
  1. Create a service file like dash_sniffer.service
  2. Put it in /lib/systemd/system/
  3. Reload systemd using command: systemctl daemon-reload
  4. Enable auto start using command: systemctl enable dash_sniffer.service