Přidat Linux/ssh_after_wg.txt
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
edit :
|
||||||
|
/etc/systemd/system/sshd.service
|
||||||
|
add and change :
|
||||||
|
After=network.target wg-quick@wg0.service
|
||||||
|
Requires=sys-devices-virtual-net-wg0.device
|
||||||
|
service :
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl restart sshd
|
||||||
Reference in New Issue
Block a user