blob: 49242e86622ec521ce31cf9a2325efdd5a4452f1 (
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
28
29
30
31
32
|
post_install() {
echo ""
echo "##########"
echo "#"
echo "# Remember to configure the server via its configuration file at /etc/earthwalker/config.toml"
echo "# After installing, start/enable the server via 'systemctl enable earthwalker.service --now'"
echo '# earthwalker should then be reachable under http://$yourIPAdress:$PortSetInConfig.'
echo "#"
echo "##########"
echo ""
}
post_upgrade() {
echo "# Remember to restart the earthwalker unit via 'systemctl restart earthwalker.service', if neccessary."
}
pre_remove() {
# Stop service
systemctl --quiet --no-reload disable --now earthwalker.service
}
post_remove() {
echo ""
echo "##########"
echo "#"
echo "# Remember to remove the user/group earthwalker, if neccessary."
echo "# All server data in /var/lib/earthwalker was NOT deleted!"
echo "#"
echo "##########"
echo ""
}
|