Skip to content

Instantly share code, notes, and snippets.

@teshanshanuka
Last active July 1, 2018 07:58
Show Gist options
  • Save teshanshanuka/0ec46271d8c38d54f10fcbd6cad2af20 to your computer and use it in GitHub Desktop.
Save teshanshanuka/0ec46271d8c38d54f10fcbd6cad2af20 to your computer and use it in GitHub Desktop.
medium article 1
[Unit]
Description=Our sample program
After=multi-user.target
[Service]
Type=idle
ExecStart=/usr/bin/python3 /home/<username>/myprogram/myservice.py
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment