Comment config files a bit more
This commit is contained in:
parent
fab8d6bb23
commit
c934bedd44
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
[Service]
|
||||
# These are the api user and password configured in your OvenMediaEngine
|
||||
# Server.xml
|
||||
Environment="OVENMONITOR_API_USER=apiuser"
|
||||
Environment="OVENMONITOR_API_PASSWORD=apipassword"
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
[Service]
|
||||
# These variables are for a Discord webhook, to do stream online/offline
|
||||
# announcements.
|
||||
Environment="OVENMONITOR_WEBHOOK_URL=FULL WEBHOOK URL"
|
||||
Environment="OVENMONITOR_WEBHOOK_ONLINE=TEXT WHEN STREAM GOES ONLINE"
|
||||
Environment="OVENMONITOR_WEBHOOK_OFFLINE=TEXT WHEN STREAM GOES OFFLINE"
|
||||
Environment="OVENMONITOR_WEBHOOK_NAME=NAME TO ASSIGN TO WEBHOOK BOT"
|
||||
|
||||
# These variables attempt to set the webhook bot above to use a specific avatar
|
||||
# for each given announcement, based on the stream key that invokes the hook.
|
||||
# AVATARPATH will be searched for an image named {app}/{stream}.png and use it.
|
||||
# Otherwise it will use default.png.
|
||||
# When going offline, offline.png will be used.
|
||||
Environment="OVENMONITOR_WEBHOOK_AVATARPATH=/srv/http/example.com/assets/webhook_avatars"
|
||||
Environment="OVENMONITOR_WEBHOOK_AVATARURL=https://example.com/assets/webhook_avatars"
|
||||
|
|
Loading…
Add table
Reference in a new issue