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