Tobias Reisinger
4104057771
roles/ and inventory/ are now in playbooks/ also fixed issues reported by ansible-lint
11 lines
238 B
Django/Jinja
11 lines
238 B
Django/Jinja
[Unit]
|
|
Description=Run the backup script
|
|
StartLimitIntervalSec=7200
|
|
StartLimitBurst=5
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart={{ (service_path, 'backup.sh') | path_join }}
|
|
WorkingDirectory={{ service_path }}
|
|
Restart=on-failure
|
|
RestartSec=15min
|