blob: 5e57f84c6d7903389200083c50f5cf928c564883 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
post_install() {
echo "---"
echo "Start user unit with:"
echo " systemctl --user daemon-reload"
echo " systemctl --user start dups"
echo ""
echo "Start system unit with:"
echo " sudo systemctl daemon-reload"
echo " sudo systemctl start dups@<USERNAME>"
echo ""
echo "To automatically start dups after login:"
echo " systemctl --user enable dups"
echo " sudo systemctl enable dups@<USERNAME>"
echo "---"
}
post_upgrade() {
echo "---"
echo "Restart user unit with:"
echo " systemctl --user daemon-reload"
echo " systemctl --user restart dups"
echo ""
echo "Restart system unit with:"
echo " sudo systemctl daemon-reload"
echo " sudo systemctl restart dups@<USERNAME>"
echo "---"
}
|