13 lines
237 B
SYSTEMD
13 lines
237 B
SYSTEMD
|
[Unit]
|
||
|
Description=Easy firewalling on a standalone server
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
Environment="SYSTEMCTL=yes"
|
||
|
ExecStart=/sbin/minifirewall start
|
||
|
ExecStop=/sbin/minifirewall stop
|
||
|
RemainAfterExit=yes
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|