summarylogtreecommitdiffstats
path: root/mc-agent.install
blob: a37823ea5b8034c99c336747ea9e49670ca9d579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 mc-agent one had to export the environment variable"      \
         'SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/mc-agent.socket"'
}