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' }