forked from tilderadio/radiobot
Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
Ben Harris | dbb70f0727 | |
Ben Harris | c9a86e5317 | |
Ben Harris | 8bc8d4a694 |
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: shellcheck
|
||||
|
||||
steps:
|
||||
- name: shellcheck
|
||||
image: koalaman/shellcheck-alpine:stable
|
||||
commands:
|
||||
- shellcheck -x bot.sh
|
||||
|
|
@ -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)
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue