From 407f1a5d79dbeff1e124a326b26873583e0593c4 Mon Sep 17 00:00:00 2001 From: Hideki Yamane Date: Thu, 6 Oct 2016 20:36:35 +0900 Subject: [PATCH] Type=oneshot is better than Type=simple see https://www.freedesktop.org/software/systemd/man/systemd.service.html#Type= "Behavior of oneshot is similar to simple; however, it is expected that the process has to exit before systemd starts follow-up units." boot service is expected to be executed once, and would not affects other services. --- data/boot.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/boot.service b/data/boot.service index 2801a4bf..5d3ec6a5 100644 --- a/data/boot.service +++ b/data/boot.service @@ -2,5 +2,5 @@ Description=Take snapper snapshot of root on boot [Service] -Type=simple +Type=oneshot ExecStart=/usr/bin/snapper --config root create --cleanup-algorithm number --description "boot" -- 2.47.3