diff options
author | Ammon Smith | 2016-02-05 03:05:39 -0800 |
---|---|---|
committer | Ammon Smith | 2016-02-05 03:05:39 -0800 |
commit | c9d8697cea85aa9cfeaf22947322eb98dbf2ff1a (patch) | |
tree | 35462e03dc65c9a5fc88c46c465668f4e41416aa /qotd-git.install | |
download | aur-c9d8697cea85aa9cfeaf22947322eb98dbf2ff1a.tar.gz |
Initial commit.
Diffstat (limited to 'qotd-git.install')
-rw-r--r-- | qotd-git.install | 14 |
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' +} + |