gitea-selfhost/systemd/gitea-protect.service

9 lines
245 B
Desktop File

# Re-applies default branch protection to every repo (new repos included).
[Unit]
Description=gitea-selfhost: protect default branches
[Service]
Type=oneshot
WorkingDirectory=/opt/gitea-selfhost
ExecStart=/opt/gitea-selfhost/kit.sh protect-all