You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
@mahadevanrm This looks more like a systemd problem than a fleet problem. You are setting a variable inside ExecStartPre inside sh. That variable is not then available to ExecStart. You'd be better of doing something like:
[Unit]
Description=SSH Per-Connection Server
After=syslog.target
[Service]
EnvironmentFile=-/etc/default/dropbear
#ExecStartPre=/ect/scripts/ssh_timeout.sh
ExecStartPre=/bin/sh -c 'SSHTIMEOUT=$(/bin/cat /etc/atom/defaults/syscfg_baseline.db | /bin/grep ssh_timeout | /bin/cut -d "=" -f2)'
ExecStart=/usr/sbin/dropbear -i -I $SSHTIMEOUT -r /var/tmp/dropbear_rsa_host_key -p 22 $DROPBEAR_EXTRA_ARGS
ExecReload=/bin/kill -HUP $MAINPID
StandardInput=socket
The text was updated successfully, but these errors were encountered: