diff --git a/install.sh b/install.sh index 91ae057..04bc789 100755 --- a/install.sh +++ b/install.sh @@ -256,6 +256,7 @@ install_data forensics/forensicsd.timer "$DESTDIR$systemdunitd install_data misc_etc_files/modprobe.d/ixgbe_sfp.conf "$DESTDIR$sysconfdir/modprobe.d/ixgbe_sfp.conf" install_exec mxvmem/mxvmem "$DESTDIR$usr_bindir/mxvmem" install_data misc_systemd_units/sshd.service "$DESTDIR$systemdunitdir/sshd.service" +install_data misc_systemd_units/pacbio-sshd.service "$DESTDIR$systemdunitdir/pacbio-sshd.service" postinstall exit diff --git a/misc_systemd_units/pacbio-sshd.service b/misc_systemd_units/pacbio-sshd.service new file mode 100644 index 0000000..fb978b3 --- /dev/null +++ b/misc_systemd_units/pacbio-sshd.service @@ -0,0 +1,13 @@ +[Unit] +Description=vlan.pacbio auf smrtlink sshd +After=network.target + +ConditionHost=|smrtlink.molgen.mpg.de + +[Service] +EnvironmentFile=/etc/local/mxhost.conf +ExecStart=/usr/sbin/sshd -D -o "ListenAddress smrtlink.pacbio.molgen.mpg.de" +Restart=always + +[Install] +WantedBy=multi-user.target