This commit is contained in:
parent
f863aef62d
commit
0ebf053a91
@ -14,4 +14,8 @@ steps:
|
||||
|
||||
- name: install
|
||||
commands:
|
||||
- make install
|
||||
- make install
|
||||
|
||||
- name: restart
|
||||
commands:
|
||||
- systemctl craft-bot restart
|
||||
|
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
|
Loading…
x
Reference in New Issue
Block a user