summarylogtreecommitdiffstats
path: root/walinuxagent.install
diff options
context:
space:
mode:
authorMatMoul2018-07-22 20:43:26 +0200
committerMatMoul2018-07-22 20:43:26 +0200
commit8368965a99e8628f079826e38e721ed10b556441 (patch)
tree6f72e63a67b1fd40a51cfcf4ddf6ccb7ba3bb68e /walinuxagent.install
parentd306cd9facc5e5bdee78f4a5c6b54c455302428b (diff)
downloadaur-8368965a99e8628f079826e38e721ed10b556441.tar.gz
New version
Diffstat (limited to 'walinuxagent.install')
-rw-r--r--walinuxagent.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/walinuxagent.install b/walinuxagent.install
new file mode 100644
index 000000000000..91b298447886
--- /dev/null
+++ b/walinuxagent.install
@@ -0,0 +1,14 @@
+post_install() {
+ systemctl daemon-reload
+ echo "You can enable systemd unit waagent with the next command :"
+ echo "systemctl enable waagent"
+ echo "And you can enable systemd unit waagent with the next command :"
+ echo "systemctl start waagent"
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ systemctl daemon-reload
+ systemctl restart waagent
+}