10 lines
222 B
Django/Jinja
10 lines
222 B
Django/Jinja
[Unit]
|
|
Description=Backup Loki server
|
|
|
|
[Service]
|
|
WorkingDirectory={{ loki_dir }}
|
|
Type=oneshot
|
|
ExecStartPre={{ loki_dir }}/registry-cleaner.sh
|
|
ExecStart={{ loki_dir }}/backup.sh -b
|
|
ExecStartPost={{ loki_dir }}/b2-backup.sh
|