summarylogtreecommitdiffstats
path: root/qotd.install
diff options
context:
space:
mode:
Diffstat (limited to 'qotd.install')
-rw-r--r--qotd.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/qotd.install b/qotd.install
new file mode 100644
index 000000000000..e8fa8fc7c06b
--- /dev/null
+++ b/qotd.install
@@ -0,0 +1,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'
+}
+