15 lines
325 B
Desktop File
15 lines
325 B
Desktop File
[Unit]
|
|
Description=Бэкап всех репозиториев Gitea
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=/opt/gitea-backup
|
|
EnvironmentFile=/opt/gitea-backup/.env
|
|
ExecStart=/opt/gitea-backup/.venv/bin/gitea-backup run
|
|
Nice=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|