blob: 2d064be6cd0cadefde02d44240c8f63b1187e318 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}
|