mirror of
https://github.com/BreizhHardware/ntfy_alerts.git
synced 2026-01-18 16:37:28 +01:00
10 lines
267 B
Bash
10 lines
267 B
Bash
#!/bin/sh
|
|
|
|
# Génère le contenu du fichier auth.txt à partir des variables d'environnement
|
|
echo -n "$USERNAME:$PASSWORD" | base64 > /auth.txt
|
|
|
|
# Démarrer nginx en arrière-plan
|
|
nginx -g 'daemon off;' &
|
|
|
|
# Exécute l'application Rust
|
|
exec /usr/local/bin/github-ntfy |