specify rooms
This commit is contained in:
parent
be7087dc2f
commit
97c28d7093
@ -2,3 +2,4 @@ PUBLAPI_PORT=3000
|
|||||||
PUBLAPI_NOTIFY_SHOUTRRRURL='matrix://pubnixbot:xxx@projectsegfau.lt/'
|
PUBLAPI_NOTIFY_SHOUTRRRURL='matrix://pubnixbot:xxx@projectsegfau.lt/'
|
||||||
PUBLAPI_EMAIL_SHOUTRRRURL='smtp://pubnix%40projectsegfau.lt:xxx@mail.projectsegfau.lt:587/?auth=Plain&fromaddress=pubnix%40projectsegfau.lt&fromname=Project+Segfault+Pubnix&subject=Your+registration+request+for+the+Project+Segfault+pubnix+has+been+sent&toaddresses='
|
PUBLAPI_EMAIL_SHOUTRRRURL='smtp://pubnix%40projectsegfau.lt:xxx@mail.projectsegfau.lt:587/?auth=Plain&fromaddress=pubnix%40projectsegfau.lt&fromname=Project+Segfault+Pubnix&subject=Your+registration+request+for+the+Project+Segfault+pubnix+has+been+sent&toaddresses='
|
||||||
PUBLAPI_NOTIFY_ROOMS='?rooms=!xxx:projectsegfau.lt'
|
PUBLAPI_NOTIFY_ROOMS='?rooms=!xxx:projectsegfau.lt'
|
||||||
|
PUBLAPI_NOTIFY_ROOMS2='?rooms=!xxx:projectsegfau.lt,publicroom:projectsegfau.lt'
|
||||||
|
@ -37,5 +37,5 @@ We hope you have enough freedom to do what you want. You are limited to 10GB of
|
|||||||
|
|
||||||
We hope you have as much fun as we did making the Pubnix! :D' \
|
We hope you have as much fun as we did making the Pubnix! :D' \
|
||||||
| s-nail -vr pubnix@projectsegfau.lt -s 'Your Project Segfault Pubnix account has been created' {{email}}
|
| s-nail -vr pubnix@projectsegfau.lt -s 'Your Project Segfault Pubnix account has been created' {{email}}
|
||||||
source /var/publapi/publapi.env && shoutrrr send -u $PUBLAPI_NOTIFY_SHOUTRRRURL -m "Welcome new user, {{username}}!"
|
source /var/publapi/publapi.env && shoutrrr send -u ${PUBLAPI_NOTIFY_SHOUTRRRURL}${PUBLAPI_NOTIFY_ROOMS2} -m "Welcome new user, {{username}}!"
|
||||||
rm -rf $0
|
rm -rf $0
|
||||||
|
Loading…
Reference in New Issue
Block a user