]> git.ipfire.org Git - thirdparty/fcron.git/commitdiff
systemd: run systemctl daemon-reload to load unit files
authorThibault Godouet <yo8192@users.noreply.github.com>
Fri, 16 Oct 2020 20:58:40 +0000 (21:58 +0100)
committerThibault Godouet <yo8192@users.noreply.github.com>
Fri, 16 Oct 2020 20:58:40 +0000 (21:58 +0100)
Makefile.in

index c75c47537c19fba8b7f2297615d215f8aa976b1c..8935933ed49fc897af22feff7089ae6b17124307 100644 (file)
@@ -146,6 +146,7 @@ ifneq ($(SYSTEMD_DIR), no)
        if test ! -d $(DESTDIR)$(SYSTEMD_DIR); then $(INSTALL) -m 755 -d $(DESTDIR)$(SYSTEMD_DIR) ; fi
        $(INSTALL) -m 644 script/fcron.init.systemd $(DESTDIR)$(SYSTEMD_DIR)/fcron.service
        $(INSTALL) -m 644 script/fcron.init.systemd.reboot $(DESTDIR)$(SYSTEMD_DIR)/fcronreboot.service
+       systemctl daemon-reload
 endif
 
 install-staged: all