summaryrefslogtreecommitdiff
path: root/etc/systemd/system/sshd-ns0.service
blob: d66b8932d58e37eeee1a466063dee4dd5ae07afe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# modified from /usr/lib/systemd/system/sshd.service

[Unit]
After=network.target sshdgenkeys.service
Before=ssh-access.target
Description=OpenSSH Daemon
Documentation=man:sshd(8) man:sshd_config(5)
Wants=sshdgenkeys.service ssh-access.target
After=ns0.service

[Service]
Type=notify-reload
ExecStart=/usr/bin/sshd -D
KillMode=process
Restart=always
NetworkNamespacePath=/run/netns/ns0

[Install]
WantedBy=multi-user.target