Restore [Install] section in the Debian .service files

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2015-08-17 07:41:15 -07:00
parent 3b1ad1e284
commit 537f53f611
2 changed files with 7 additions and 0 deletions

View File

@ -16,3 +16,6 @@ EnvironmentFile=-/etc/default/shorewall-init
StandardOutput=syslog StandardOutput=syslog
ExecStart=/sbin/shorewall-init start ExecStart=/sbin/shorewall-init start
ExecStop=/sbin/shorewall-init stop ExecStop=/sbin/shorewall-init stop
[Install]
WantedBy=basic.target

View File

@ -6,6 +6,7 @@
# #
[Unit] [Unit]
Description=Shorewall firewall (bootup security) Description=Shorewall firewall (bootup security)
Wants=network.target
Before=network.target Before=network.target
[Service] [Service]
@ -15,3 +16,6 @@ EnvironmentFile=-/etc/default/shorewall-init
StandardOutput=syslog StandardOutput=syslog
ExecStart=/sbin/shorewall-init start ExecStart=/sbin/shorewall-init start
ExecStop=/sbin/shorewall-init stop ExecStop=/sbin/shorewall-init stop
[Install]
WantedBy=basic.target