Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=My service
- After=network.target
- [Service]
- ExecStart=/usr/bin/python3 -u example.py
- WorkingDirectory=/home/user/example/
- Restart=always
- User=username
- [Install]
- WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment