Skip to content

Instantly share code, notes, and snippets.

@abuvanth
Last active January 13, 2023 04:04
Show Gist options
  • Save abuvanth/5714eaefb38302cef6ee203f04a2f249 to your computer and use it in GitHub Desktop.
Save abuvanth/5714eaefb38302cef6ee203f04a2f249 to your computer and use it in GitHub Desktop.
[Unit]
Description=Cyberfly python Client
After=network.target
[Service]
ExecStart=/usr/bin/python3 /home/cyberfly/temp_test.py #replace your script localtion
Restart=always
StandardOutput=append:/home/cyberfly/cy.log # replace cyberfly with your raspberry pi username
StandardError=append:/home/cyberfly/cy.log # replace cyberfly with your raspberry pi username
User=cyberfly #replace cyberfly with your raspberry pi username
[Install]
WantedBy=multi-user.target
@abuvanth
Copy link
Author

make this public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment