summarylogtreecommitdiffstats
path: root/qotd-git.install
blob: e8fa8fc7c06b502a211f3774ac4a5086adbf66cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
    systemctl daemon-reload

    echo 'Start the new systemd unit:'
    echo 'sudo systemctl enable --now qotd.service'
}

post_upgrade() {
    systemctl daemon-reload

    echo 'Restart the qotd systemd unit:'
    echo 'sudo systemctl restart qotd.service'
}