Skip to content

misc_systemd_units: add pacbio-sshd.service #284

Merged
merged 1 commit into from
Dec 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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