summarylogtreecommitdiffstats
path: root/moolticute_ssh-agent.install
diff options
context:
space:
mode:
Diffstat (limited to 'moolticute_ssh-agent.install')
-rw-r--r--moolticute_ssh-agent.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/moolticute_ssh-agent.install b/moolticute_ssh-agent.install
new file mode 100644
index 000000000000..9e3ca1546316
--- /dev/null
+++ b/moolticute_ssh-agent.install
@@ -0,0 +1,13 @@
+post_install() {
+ _systemd_service_usage
+}
+
+post_upgrade() {
+ _systemd_service_usage
+}
+
+# print an usage on how to use the agent started by systemd
+_systemd_service_usage() {
+ echo "In order to use moolticute_ssh-agent one had to export the environment variable" \
+ 'SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/moolticute-ssh-agent.socket"'
+}