Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tmux new-session -d -s mybot "'/usr/bin/python3.5' launcher.py --start --auto-restart"
- [Unit]
- Description=My Bot
- After=network.target
- [Service]
- Type=simple
- WorkingDirectory=/root/craig/mybot
- ExecStart=launcher.py
- Restart=always
- [Install]
- WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment