dpl/scripts/node-onboarding/dpl-certbot-apparmor.service
hellcat 6b0ac99d19
Some checks are pending
Docker Build and Publish / build (push) Waiting to run
fix(nodes): restrict Certbot loader to current mounted core revision
2026-10-17 17:50:02 +08:00

15 lines
482 B
Desktop File

[Unit]
Description=Load existing Certbot AppArmor profiles for DPL certificate operations
After=local-fs.target
RequiresMountsFor=/snap/core/current /snap/certbot/current /var/lib/snapd/apparmor/profiles
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