blob: 226da9cd91e620a4920a40cd7b2eb9f757ab1c4d (
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
|
post_install() {
echo ""
echo "##########"
echo "#"
echo "# Remember to configure the runner via its configuration variables under /etc/drone-runner-exec.env"
echo "# After that, start/enable the server via 'systemctl enable drone-runner-exec.service --now'"
echo "#"
echo "##########"
echo ""
}
post_upgrade() {
echo "# Remember to restart the drone-runner-exec unit via 'systemctl restart drone-runner-exec.service', if neccessary."
}
pre_remove() {
# Stop service
systemctl --quiet --no-reload disable --now drone-runner-exec.service
}
post_remove() {
echo ""
echo "##########"
echo "#"
echo "# Remember to remove the user/group drone-runner-exec, if neccessary."
echo "# All runner data in /var/lib/drone-runner-exec was NOT deleted!"
echo "#"
echo "##########"
echo ""
}
|