From 49c32e26cf1e2cfbdb81f76261b6a18a069ca3fb Mon Sep 17 00:00:00 2001 From: Pig Monkey Date: Thu, 21 Oct 2021 18:31:28 -0700 Subject: [PATCH] don't restart git-annex after copying the systemd file The user service may not exist at this point, which would result in the handler throwing an error. --- roles/git-annex/tasks/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/git-annex/tasks/main.yml b/roles/git-annex/tasks/main.yml index e5661aa..21dcb81 100644 --- a/roles/git-annex/tasks/main.yml +++ b/roles/git-annex/tasks/main.yml @@ -17,7 +17,6 @@ dest: /etc/systemd/user/git-annex.service notify: - reload systemd config - - restart git-annex - name: Check if git-annex autostart file exists stat: