From bf6ea138985ac4bf836fab33e3619c1229479733 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 12 Oct 2011 06:13:15 -0700 Subject: [PATCH] Update .service files with patch from Jonathan Underwood Signed-off-by: Tom Eastep --- Shorewall-init/shorewall-init.service | 1 - Shorewall-lite/shorewall-lite.service | 1 - Shorewall/shorewall.service | 2 +- Shorewall6-lite/shorewall6-lite.service | 1 - Shorewall6/shorewall6.service | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Shorewall-init/shorewall-init.service b/Shorewall-init/shorewall-init.service index d9484de5e..3ac5c19b1 100644 --- a/Shorewall-init/shorewall-init.service +++ b/Shorewall-init/shorewall-init.service @@ -14,7 +14,6 @@ RemainAfterExit=yes EnvironmentFile=-/etc/sysconfig/shorewall-init StandardOutput=syslog ExecStart=/sbin/shorewall-init $OPTIONS start -ExecReload=/sbin/shorewall-init $OPTIONS restart ExecStop=/sbin/shorewall-init $OPTIONS stop [Install] diff --git a/Shorewall-lite/shorewall-lite.service b/Shorewall-lite/shorewall-lite.service index b999bebdd..7d9873b52 100644 --- a/Shorewall-lite/shorewall-lite.service +++ b/Shorewall-lite/shorewall-lite.service @@ -14,7 +14,6 @@ RemainAfterExit=yes EnvironmentFile=-/etc/sysconfig/shorewall-lite StandardOutput=syslog ExecStart=/sbin/shorewall-lite $OPTIONS start -ExecReload=/sbin/shorewall-lite $OPTIONS restart ExecStop=/sbin/shorewall-lite $OPTIONS stop [Install] diff --git a/Shorewall/shorewall.service b/Shorewall/shorewall.service index 0a2cd4a38..e8e91bc61 100644 --- a/Shorewall/shorewall.service +++ b/Shorewall/shorewall.service @@ -6,6 +6,7 @@ [Unit] Description=Shorewall IPv4 firewall After=syslog.target +After=network.target [Service] Type=oneshot @@ -13,7 +14,6 @@ RemainAfterExit=yes EnvironmentFile=-/etc/sysconfig/shorewall StandardOutput=syslog ExecStart=/sbin/shorewall $OPTIONS start -ExecReload=/sbin/shorewall $OPTIONS restart ExecStop=/sbin/shorewall $OPTIONS stop [Install] diff --git a/Shorewall6-lite/shorewall6-lite.service b/Shorewall6-lite/shorewall6-lite.service index 6e9008068..a1d03860e 100644 --- a/Shorewall6-lite/shorewall6-lite.service +++ b/Shorewall6-lite/shorewall6-lite.service @@ -14,7 +14,6 @@ RemainAfterExit=yes EnvironmentFile=-/etc/sysconfig/shorewall6-lite StandardOutput=syslog ExecStart=/sbin/shorewall6-lite $OPTIONS start -ExecReload=/sbin/shorewall6-lite $OPTIONS restart ExecStop=/sbin/shorewall6-lite $OPTIONS stop [Install] diff --git a/Shorewall6/shorewall6.service b/Shorewall6/shorewall6.service index 2bad879ee..97f984bc8 100644 --- a/Shorewall6/shorewall6.service +++ b/Shorewall6/shorewall6.service @@ -14,7 +14,6 @@ RemainAfterExit=yes EnvironmentFile=-/etc/sysconfig/shorewall6 StandardOutput=syslog ExecStart=/sbin/shorewall6 $OPTIONS start -ExecReload=/sbin/shorewall6 $OPTIONS restart ExecStop=/sbin/shorewall6 $OPTIONS stop [Install]