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