Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/upstart/sessions/ drwxr-xr-x | |
| Viewing file: Select action/file-type: description "SSH Agent"
author "Stéphane Graber <stgraber@ubuntu.com>"
start on starting xsession-init
pre-start script
[ -e /etc/X11/Xsession.options ] || { stop; exit 0; }
grep -q "^use-ssh-agent$" /etc/X11/Xsession.options || { stop; exit 0; }
[ -z "$SSH_AUTH_SOCK" ] || { stop; exit 0; }
eval "$(ssh-agent -s)" >/dev/null
initctl set-env --global SSH_AUTH_SOCK=$SSH_AUTH_SOCK
initctl set-env --global SSH_AGENT_PID=$SSH_AGENT_PID
initctl set-env --global SSH_AGENT_LAUNCHER=upstart
end script
post-stop script
[ "$SSH_AGENT_LAUNCHER" = upstart ] || exit 0
kill $SSH_AGENT_PID 2>/dev/null || true
initctl unset-env --global SSH_AUTH_SOCK
initctl unset-env --global SSH_AGENT_PID
initctl unset-env --global SSH_AGENT_LAUNCHER
end script
|
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0071 ]-- |