2019-10-26 17:05:31 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
source $DOTREPO/secrets/env
|
|
|
|
|
|
|
|
cat <<SECRET > $DOTREPO/secrets/secrets
|
|
|
|
export PASS_LIBREFM="$PASS_LIBREFM"
|
|
|
|
export PASS_MUSICBRAINZ="$PASS_MUSICBRAINZ"
|
|
|
|
export PASS_LISTENBRAINZ="$PASS_LISTENBRAINZ"
|
|
|
|
export PASS_MUSPY="$PASS_MUSPY"
|
|
|
|
export PASS_ARIA2="$PASS_ARIA2"
|
|
|
|
export PASS_MPD="$PASS_MPD"
|
2019-11-02 06:45:18 +00:00
|
|
|
export PASS_MPD_ADMIN="$PASS_MPD_ADMIN"
|
2020-02-13 23:11:23 +00:00
|
|
|
export PASS_IPMI="$PASS_IPMI"
|
2020-02-18 13:44:17 +00:00
|
|
|
export PASS_MQTT="$PASS_MQTT"
|
2019-10-26 17:05:31 +00:00
|
|
|
|
|
|
|
export ME_FULLNAME="$ME_FULLNAME"
|
|
|
|
export ME_ADDRESS="$ME_ADDRESS"
|
|
|
|
export ME_PHONE="$ME_PHONE"
|
2020-04-04 08:30:43 +00:00
|
|
|
|
|
|
|
export WIREGUARD_MIRKWOOD_PRIVKEY="$WIREGUARD_MIRKWOOD_PRIVKEY"
|
|
|
|
export WIREGUARD_MIRKWOOD_PUBKEY="$WIREGUARD_MIRKWOOD_PUBKEY"
|
|
|
|
export WIREGUARD_MIRKWOOD_PSK="$WIREGUARD_MIRKWOOD_PSK"
|
|
|
|
|
|
|
|
export WIREGUARD_MORIA_PRIVKEY="$WIREGUARD_MORIA_PRIVKEY"
|
|
|
|
export WIREGUARD_MORIA_PUBKEY="$WIREGUARD_MORIA_PUBKEY"
|
2020-11-21 11:02:03 +00:00
|
|
|
|
|
|
|
export EMAIL_MARKO_PASS="$EMAIL_MARKO_PASS"
|
|
|
|
export EMAIL_ADMIN_PASS="$EMAIL_MARKO_PASS"
|
2019-10-26 17:05:31 +00:00
|
|
|
SECRET
|
2020-11-21 11:02:03 +00:00
|
|
|
|
|
|
|
chmod 600 $DOTREPO/secrets/secrets
|