blob: 5bbd90f83c801fa7c9a3692e781d40ea86975aa1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[Unit]
Description=Runs borgbackup to create application level backup (ANSIBLE MANAGED)
Wants={{ borg_backup_timer_name }}{{ "@" if borg_backup_argument != "" }}{{ borg_backup_argument }}.timer
[Service]
Type=oneshot
ExecStart={{ borg_backup_script_location }}
User=root
Group=root
{% if borg_backup_service_successful_exit_status | length > 0 %}
SuccessExitStatus={{ borg_backup_service_successful_exit_status | join(' ') }}
{% endif %}
[Install]
WantedBy=multi-user.target
|