From c801024b0da31a55e76176478fbb956be9f2d8a3 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 30 Nov 2022 09:12:46 +0100 Subject: [PATCH] start and enabler repository automount --- restic/repository.sls | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/restic/repository.sls b/restic/repository.sls index 64ff645..27a62cf 100644 --- a/restic/repository.sls +++ b/restic/repository.sls @@ -25,3 +25,8 @@ Run systemd daemon reload for repository: - onchanges: - file: Create restic repository mount unit - file: Create restic repository automount unit + +Start restic repository automount unit: + service.running: + - name: {{ unit_name }}.automount + - enable: True