Compare commits

...

3 Commits

Author SHA1 Message Date
Ben Harris dbb70f0727 Update 'README.md'
continuous-integration/drone/push Build is failing Details
2020-07-16 18:27:50 -04:00
Ben Harris c9a86e5317 tidy up systemd service file
continuous-integration/drone/push Build is failing Details
2020-06-28 14:45:03 -04:00
Ben Harris 8bc8d4a694 add shellcheck on deploy
continuous-integration/drone/push Build is failing Details
2020-06-28 14:34:51 -04:00
3 changed files with 15 additions and 2 deletions

10
.drone.yml Normal file
View File

@ -0,0 +1,10 @@
---
kind: pipeline
name: shellcheck
steps:
- name: shellcheck
image: koalaman/shellcheck-alpine:stable
commands:
- shellcheck -x bot.sh

View File

@ -1,4 +1,4 @@
# radiobot
# radiobot (legacy)
super simple bot
@ -10,3 +10,6 @@ drop webhook.php somewhere in a webroot and update `now_playing_file` in bot.pro
this code is very bad and should probably be rewritten from scratch.
UPDATE: it has been rewritten from scratch as a module for [bitbot](https://bitbot.dev)
the module code can be found [here](https://tildegit.org/ben/bitbot-modules/src/branch/master/tilderadio.py)

View File

@ -5,7 +5,7 @@ After=radiobot.service
[Service]
Type=simple
WorkingDirectory=/home/ben/workspace/radiobot
ExecStart=/bin/bash /home/ben/workspace/radiobot/bot.sh
ExecStart=/bin/bash bot.sh
Restart=always
RestartSec=5
StartLimitInterval=60s