summaryrefslogtreecommitdiff
path: root/debian/openssh-server.install
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.install')
-rwxr-xr-xdebian/openssh-server.install12
1 files changed, 7 insertions, 5 deletions
diff --git a/debian/openssh-server.install b/debian/openssh-server.install
index 7fdf609..22ba733 100755
--- a/debian/openssh-server.install
+++ b/debian/openssh-server.install
@@ -8,11 +8,13 @@ usr/share/man/man8/sshd.8
sshd_config => usr/share/openssh/sshd_config
debian/openssh-server.ucf-md5sum => usr/share/openssh/sshd_config.md5sum
-debian/openssh-server.if-up => etc/network/if-up.d/openssh-server
-debian/openssh-server.ufw.profile => etc/ufw/applications.d/openssh-server
-debian/systemd/ssh.socket lib/systemd/system
-debian/systemd/ssh@.service lib/systemd/system
-debian/systemd/sshd.conf usr/lib/tmpfiles.d
+[!illumos-any] debian/openssh-server.if-up => etc/network/if-up.d/openssh-server
+[!illumos-any] debian/openssh-server.ufw.profile => etc/ufw/applications.d/openssh-server
+
+[linux-any] debian/systemd/ssh.socket lib/systemd/system
+[linux-any] debian/systemd/ssh@.service lib/systemd/system
+[linux-any] debian/systemd/sshd.conf usr/lib/tmpfiles.d
+
debian/systemd/ssh-session-cleanup usr/lib/openssh
# dh_apport would be neater, but at the time of writing it isn't in unstable