Open
Conversation
Signed-off-by: Adam Hill <adam@diginc.us>
diginc
commented
Oct 5, 2021
| @@ -0,0 +1,7 @@ | |||
| #!/bin/bash | |||
| set -ex | |||
| @@ -0,0 +1,7 @@ | |||
| #!/bin/bash | |||
| set -ex | |||
| @@ -0,0 +1,12 @@ | |||
| #!/usr/bin/env sh | |||
| set -ex | |||
| - SFTP_USERS # .env but not used | ||
| - SFTP_PASS # .env used to setup root in enable-root-ssh | ||
| # --- Custom notification scripts to let discord friends know when servers up or down | ||
| discord-notify: |
Owner
Author
There was a problem hiding this comment.
disable auto-starting and sending 'test message' or modify script to just not send anything if MSG is null as a workaround to avoid using bleeding edge profile/docker-compose 2 beta features: https://stackoverflow.com/a/65957695/895792
|
|
||
| env | ||
|
|
||
| echo '{ |
Owner
Author
There was a problem hiding this comment.
test if MSG is null and don't try to send to make container noop by default.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TModLoader, SFTP matching image user id (root), curl webhook poster to discord, and shell scripts to easily notify on server going online or offline.