Skip to content

Commit 4c39df4

Browse files
authored
Add files via upload
1 parent dea280b commit 4c39df4

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

src/deb/hestia/control

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Source: hestia
2+
Package: hestia
3+
Priority: optional
4+
Version: 0.9.8-22
5+
Section: admin
6+
Maintainer: HestiaCP <info@hestiacp.com>
7+
Homepage: https://www.hestiacp.com
8+
Architecture: amd64
9+
Depends: bash, awk, sed
10+
Description: Hestia
11+
Hestia is an open source hosting control panel.
12+
Hestia has a clean and focused interface without the clutter.
13+
Hestia has the latest of very innovative technologies.

src/deb/hestia/postinst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
3+
# Run triggers only on updates
4+
if [ ! -e "/usr/local/hestia/data/users/admin" ]; then
5+
exit
6+
fi
7+
8+
# Run SUDO trigger
9+
if [ -x "/usr/local/hestia/upd/add_sudo.sh" ]; then
10+
/usr/local/hestia/upd/add_sudo.sh
11+
fi
12+
13+
# Run Notification trigger
14+
if [ -x "/usr/local/hestia/upd/add_notifications.sh" ]; then
15+
/usr/local/hestia/upd/add_notifications.sh
16+
fi
17+
18+
# Run session save path trigger
19+
if [ -x "/usr/local/hestia/upd/fix_sessions.sh" ]; then
20+
/usr/local/hestia/upd/fix_sessions.sh
21+
fi
22+
23+
if [ -x /usr/local/hestia/upd/fix_nginx_auth.sh ]; then
24+
/usr/local/hestia/upd/fix_nginx_auth.sh
25+
fi
26+
27+
if [ -x /usr/local/hestia/upd/fix_roundcube.sh ]; then
28+
/usr/local/hestia/upd/fix_roundcube.sh
29+
fi
30+
31+
exit 0

0 commit comments

Comments
 (0)