dpl/scripts/node-onboarding/dpl-certbot-apparmor.service
hellcat 44d1c79bef
Some checks are pending
Docker Build and Publish / build (push) Waiting to run
fix(nodes): restore installed Certbot AppArmor profiles on legacy hosts
2026-10-17 17:49:19 +08:00

14 lines
390 B
Desktop File

[Unit]
Description=Load existing Certbot AppArmor profiles for DPL certificate operations
After=local-fs.target
Before=snap.certbot.renew.service
ConditionPathExists=/var/lib/snapd/apparmor/profiles/snap.certbot.certbot
[Service]
Type=oneshot
ExecStart=/bin/bash /opt/dpl-certbot-security/provision/load-certbot-apparmor.sh --load
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target