mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
Add .service files for systemd
This commit is contained in:
parent
24aacd67e6
commit
e6a6a1a609
16
Shorewall-init/shorewall-init.service
Normal file
16
Shorewall-init/shorewall-init.service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Shorewall IPv4 firewall
|
||||||
|
After=syslog.target
|
||||||
|
Before=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
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]
|
||||||
|
WantedBy=multi-user.target
|
16
Shorewall-lite/shorewall-lite.service
Normal file
16
Shorewall-lite/shorewall-lite.service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Shorewall IPv4 firewall (lite)
|
||||||
|
After=syslog.target
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
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]
|
||||||
|
WantedBy=multi-user.target
|
16
Shorewall/shorewall.service
Normal file
16
Shorewall/shorewall.service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Shorewall IPv4 firewall
|
||||||
|
After=syslog.target
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
EnvironmentFile=-/etc/sysconfig/shorewall
|
||||||
|
StandardOutput=syslog
|
||||||
|
ExecStart=/sbin/shorewall $OPTIONS start
|
||||||
|
ExecReload=/sbin/shorewall $OPTIONS restart
|
||||||
|
ExecStop=/sbin/shorewall $OPTIONS stop
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
16
Shorewall6-lite/shorewall6-lite.service
Normal file
16
Shorewall6-lite/shorewall6-lite.service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Shorewall IPv6 firewall (lite)
|
||||||
|
After=syslog.target
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
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]
|
||||||
|
WantedBy=multi-user.target
|
16
Shorewall6/shorewall6.service
Normal file
16
Shorewall6/shorewall6.service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Shorewall IPv6 firewall
|
||||||
|
After=syslog.target
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
EnvironmentFile=-/etc/sysconfig/shorewall6
|
||||||
|
StandardOutput=syslog
|
||||||
|
ExecStart=/sbin/shorewall6 $OPTIONS start
|
||||||
|
ExecReload=/sbin/shorewall6 $OPTIONS restart
|
||||||
|
ExecStop=/sbin/shorewall6 $OPTIONS stop
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user