blob: d237db9e81f673d742a64c197077ae835c9e5bbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
post_install() {
if ! getent passwd beehive > /dev/null; then
useradd -r beehive
fi
mkdir -p /etc/beehive
chown -R beehive: /etc/beehive
echo "To run a reverse proxy setup, please modify the systemd unit and add the following arguments to the ExecStart line:"
echo " -bind \":8181\" -canonicalurl \"http://beehive.myhost.com\""
}
pre_upgrade() {
systemctl stop beehive.service
}
post_upgrade() {
systemctl start beehive.service
}
|