blob: 964be8a4808b7191d3844e01b288f20f5a7b72a0 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# This systemd script was made to be used in Ubuntu 18.04 LTS
# Check your distro and make the appropriate changes if needed
[Unit]
Description=BitBot Service
Wants=network-online.target
After=network-online.target
[Service]
# change any of the 3 following lines as applicable
User=bitbot
Group=bitbot
WorkingDirectory=/opt/bitbot/
ExecStart=/usr/bin/env python3 bitbotd
ExecStop=/usr/bin/env python3 bitbotctl stop
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
[Install]
WantedBy=multi-user.target
|