20 lines
710 B
Bash
20 lines
710 B
Bash
#!/bin/sh
|
|
OWNCAST_URL=http://owncast.localhost
|
|
# ^ do not add final '/'
|
|
OWNCAST_ACCESS_TOKEN=generated_from_admin_page=
|
|
#OWNCAST_ADMIN_PASS_FILE=/path/to/admin/pass # this doesnt need to be enabled to work.
|
|
IRC_CHANNEL=#your_channel_here
|
|
IRC_NICK=qwfpgjluy
|
|
IRC_USER=qwfpgjluy
|
|
# tls automatically enabled on port 6697. on other ports, you have to edit source code
|
|
IRC_SERVER=irc.rizon.net:6697
|
|
export OWNCAST_URL
|
|
export OWNCAST_ACCESS_TOKEN
|
|
#export OWNCAST_ACCESS_TOKEN
|
|
export IRC_CHANNEL
|
|
export IRC_NICK
|
|
export IRC_USER
|
|
export IRC_SERVER
|
|
# .21 since we have an entire /8 and no one will probably use it.
|
|
# also dont listen on [::]:3000 which is default
|
|
morbo -m production -l http://127.0.0.21:3000 ./myapp.pl
|