9 lines
180 B
Django/Jinja
9 lines
180 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
|