Skip to content

Instantly share code, notes, and snippets.

@pingud98
Last active June 11, 2021 02:31
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 pingud98/a65a5cbab9b008a32b2f7a1e84a04994 to your computer and use it in GitHub Desktop.
Save pingud98/a65a5cbab9b008a32b2f7a1e84a04994 to your computer and use it in GitHub Desktop.
Airmon service (for Pi default user)
[Unit]
Description=Air Monitoring Service
After=network-online.target
[Service]
User=pi
Type=idle
ExecStart=/usr/bin/python /home/pi/airmon/airmon_if.py
Restart=on-failure
RestartSec=10s
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment