18 lines
495 B
INI
18 lines
495 B
INI
[Unit]
|
|
Description=Ansipa portal gateway Basic Auth credential setup
|
|
After=network.target docker-env.service
|
|
Wants=docker-env.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
# Passwords come from /etc/container.env (written by docker-env.service from
|
|
# Docker -e flags) on first boot; persisted thereafter under /data.
|
|
EnvironmentFile=/etc/container.env
|
|
ExecStart=/usr/local/sbin/ansipa-portal-auth-setup.sh
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|