summarylogtreecommitdiffstats
path: root/fips.install
blob: 616b36c81e552c9213c4b9648231f25eb51352eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
    echo ":: Enable the FIPS daemon:"
    echo "   systemctl enable --now fips.service"
    echo ""
    echo ":: Optional: enable .fips DNS routing (requires systemd-resolved):"
    echo "   systemctl enable --now fips-dns.service"
    echo ""
    echo ":: Allow non-root access to fipsctl/fipstop:"
    echo "   usermod -aG fips \$USER"
    echo ""
    echo ":: Edit /etc/fips/fips.yaml before starting."
}

post_upgrade() {
    echo ":: Restart the daemon if running:"
    echo "   systemctl restart fips.service"
}