1
2
3
4
5
6
7
8
9
#!/bin/sh
set -eu
# Existing deployments keep administrator-owned configuration, keys and unit.
# Do not enable a fresh, unconfigured server or change any account/database data.
if [ "${1:-}" = configure ] && [ -d /run/systemd/system ]; then
if [ "$(systemctl show minimal-fxa-server.service -p LoadState --value)" = loaded ]; then
systemctl try-restart minimal-fxa-server.service
fi
fi
: nply/foundationpkgs