Files
terraform/modules/apps/gitea/lib/services/weekly-backup.service

10 lines
221 B
Desktop File

[Unit]
Description=Weekly Gitea Backup
Wants=network.target
After=network.target gitea.service
Before=shutdown.target reboot.target halt.target
[Service]
Type=oneshot
User=root
ExecStart=/usr/local/bin/backup.sh