瀏覽代碼

Change borg backup service file to type=simple

pull/1750/head
Ewan 4 年之前
父節點
當前提交
194b953993
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 8B0E1F1D53FCA026
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      roles/matrix-backup-borg/templates/systemd/matrix-backup-borg.service.j2

+ 1
- 1
roles/matrix-backup-borg/templates/systemd/matrix-backup-borg.service.j2 查看文件

@@ -11,7 +11,7 @@ Wants={{ service }}
DefaultDependencies=no

[Service]
Type=oneshot
Type=simple
Environment="HOME={{ matrix_systemd_unit_home_path }}"
ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-backup-borg 2>/dev/null || true'
ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-backup-borg 2>/dev/null || true'


Loading…
取消
儲存