]> granicus.if.org Git - fcron/commitdiff
install-restart: use service (works with systemd) instead of /etc/init.d/fcron
authorThibault Godouet <fcron@free.fr>
Tue, 7 Jun 2016 19:55:19 +0000 (20:55 +0100)
committerThibault Godouet <fcron@free.fr>
Tue, 7 Jun 2016 19:55:19 +0000 (20:55 +0100)
Makefile.in

index c201904fe667867e3e4581e30b00464f7b82d5c3..fabc045cc6ad95239293f23fa7761e976503460e 100644 (file)
@@ -248,7 +248,7 @@ install-boot: install
 install-restart: install
 ifeq ($(DEBUG), 1)
        kill -TERM `pidof fcron` || exit 0
-       /etc/init.d/fcron restart
+       service fcron restart
 endif
 
 uninstall: