From 3e1fd62d0f1bc59567a202332107760822b3a7ca Mon Sep 17 00:00:00 2001 From: Jarno Rankinen Date: Fri, 29 Oct 2021 09:24:54 +0300 Subject: [PATCH] Fixed path issue with systemd service, snapsh needs to be in the system $PATH to work --- snapsh-post-rollback.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapsh-post-rollback.service b/snapsh-post-rollback.service index 57afdeb..c769063 100644 --- a/snapsh-post-rollback.service +++ b/snapsh-post-rollback.service @@ -3,7 +3,7 @@ Description=Snapsh: Remove leftover *.previous subvolumes [Service] Type=oneshot -ExecStart=/usr/sbin/snapsh --post-rollback +ExecStart=snapsh --post-rollback RemainAfterExit=yes [Install]