ptgbot/init.sh
Ian Wienand 0e2f3d0a9d ptgbot-web: add simple service to serve static pages
This serves the static pages from the container directly

Change-Id: I86f3f5002f88005760e00c5714b0891c1892a6f2
2021-10-05 14:38:56 +11:00

8 lines
194 B
Bash
Executable File

#!/bin/bash
# Serves website as a daemon
/usr/local/bin/ptgbot-web --debug /etc/ptgbot/ptgbot.config
# Run in foreground as the main process
/usr/local/bin/ptgbot -d /etc/ptgbot/ptgbot.config