mirror of
https://salsa.debian.org/debian/knockd
synced 2026-01-05 02:53:55 +00:00
d/knockd.service: only start when online
This commit is contained in:
5
debian/knockd.service
vendored
5
debian/knockd.service
vendored
@@ -1,6 +1,7 @@
|
||||
[Unit]
|
||||
Description=Port-Knock Daemon
|
||||
After=network.target
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
Documentation=man:knockd(1)
|
||||
|
||||
[Service]
|
||||
@@ -10,7 +11,7 @@ ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=mixed
|
||||
SuccessExitStatus=0 2 15
|
||||
ProtectSystem=full
|
||||
CapabilityBoundingSet=CAP_NET_RAW CAP_NET_ADMIN
|
||||
CapabilityBoundingSet=CAP_NET_RAW CAP_NET_ADMIN CAP_SYS_MODULE
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user