This commit is contained in:
12
craft-bot.service
Normal file
12
craft-bot.service
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=the telegram bot for minecraft
|
||||
After=network.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
Type=simple
|
||||
ExecStart=/usr/local/craft-bot/craft-bot -c /etc/craft-bot/craft-bot.cfg
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user