summarylogtreecommitdiffstats
path: root/qotd-git.install
diff options
context:
space:
mode:
authorAmmon Smith2016-02-05 03:05:39 -0800
committerAmmon Smith2016-02-05 03:05:39 -0800
commitc9d8697cea85aa9cfeaf22947322eb98dbf2ff1a (patch)
tree35462e03dc65c9a5fc88c46c465668f4e41416aa /qotd-git.install
downloadaur-c9d8697cea85aa9cfeaf22947322eb98dbf2ff1a.tar.gz
Initial commit.
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'
+}
+