From 537f53f611b52de0fe67ad82265df9a772301fb8 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 17 Aug 2015 07:41:15 -0700 Subject: [PATCH] Restore [Install] section in the Debian .service files Signed-off-by: Tom Eastep --- Shorewall-init/shorewall-init.service.214.debian | 3 +++ Shorewall-init/shorewall-init.service.debian | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/Shorewall-init/shorewall-init.service.214.debian b/Shorewall-init/shorewall-init.service.214.debian index cf2b14381..6e42b3cca 100644 --- a/Shorewall-init/shorewall-init.service.214.debian +++ b/Shorewall-init/shorewall-init.service.214.debian @@ -16,3 +16,6 @@ EnvironmentFile=-/etc/default/shorewall-init StandardOutput=syslog ExecStart=/sbin/shorewall-init start ExecStop=/sbin/shorewall-init stop + +[Install] +WantedBy=basic.target diff --git a/Shorewall-init/shorewall-init.service.debian b/Shorewall-init/shorewall-init.service.debian index 5ce68bcc7..dd4adb010 100644 --- a/Shorewall-init/shorewall-init.service.debian +++ b/Shorewall-init/shorewall-init.service.debian @@ -6,6 +6,7 @@ # [Unit] Description=Shorewall firewall (bootup security) +Wants=network.target Before=network.target [Service] @@ -15,3 +16,6 @@ EnvironmentFile=-/etc/default/shorewall-init StandardOutput=syslog ExecStart=/sbin/shorewall-init start ExecStop=/sbin/shorewall-init stop + +[Install] +WantedBy=basic.target