summarylogtreecommitdiffstats
path: root/z13ctl-bin.install
blob: 9eb2a8b49f563bb71eb15597145fb16fd7e6924c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
    z13ctl setup
    systemctl --global enable z13ctl.socket z13ctl.service || true
    echo ""
    echo ">>> z13ctl installed. To start the daemon now (without logging out):"
    echo ">>>   systemctl --user start z13ctl.socket"
    echo ">>> Or log out and back in — socket activation starts automatically."
}

post_upgrade() {
    z13ctl setup
    echo ""
    echo ">>> z13ctl upgraded. Reload the user daemon and restart the service:"
    echo ">>>   systemctl --user daemon-reload"
    echo ">>>   systemctl --user restart z13ctl.service"
}