Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
misc_systemd_units: add pacbio-sshd.service
Run dedicated sshd on smrtlink.pacbio VLAN interface.
  • Loading branch information
wwwutz committed Dec 1, 2022
1 parent 75e5ad1 commit 8f4a1b4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Expand Up @@ -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
12 changes: 12 additions & 0 deletions misc_systemd_units/pacbio-sshd.service
@@ -0,0 +1,12 @@
[Unit]
Description=vlan.pacbio auf smrtlink sshd
After=network.target

ConditionHost=smrtlink.molgen.mpg.de

[Service]
ExecStart=/usr/sbin/sshd -D -o "ListenAddress smrtlink.pacbio.molgen.mpg.de"
Restart=always

[Install]
WantedBy=multi-user.target

0 comments on commit 8f4a1b4

Please sign in to comment.