summaryrefslogtreecommitdiffstats
path: root/abs/extra/shellinabox/shellinaboxd.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-08-14 16:33:01 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-08-14 16:33:01 (GMT)
commitcecb9fe3e3777a82a005a196011b516609641b44 (patch)
tree1901c92cd7583ebae3a0b1fa715a752b48712640 /abs/extra/shellinabox/shellinaboxd.install
parentc3cf667476326127e9f71bd7ec7fb4af5eb7def8 (diff)
downloadlinhes_pkgbuild-cecb9fe3e3777a82a005a196011b516609641b44.zip
linhes_pkgbuild-cecb9fe3e3777a82a005a196011b516609641b44.tar.gz
linhes_pkgbuild-cecb9fe3e3777a82a005a196011b516609641b44.tar.bz2
shellinabox: add lighttpd conf
Diffstat (limited to 'abs/extra/shellinabox/shellinaboxd.install')
-rw-r--r--abs/extra/shellinabox/shellinaboxd.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/abs/extra/shellinabox/shellinaboxd.install b/abs/extra/shellinabox/shellinaboxd.install
index 466ba3c..1fb3a79 100644
--- a/abs/extra/shellinabox/shellinaboxd.install
+++ b/abs/extra/shellinabox/shellinaboxd.install
@@ -1,8 +1,11 @@
post_install() {
+ echo "Generate lighttpd include..."
+ gen_light_include.py
echo "Create link to linhes.pem..."
ln -s /etc/lighttpd/linhes.pem /etc/lighttpd/certificate.pem
echo "Start runit service for shellinaboxd..."
add_service.sh shellinaboxd
+ /sbin/sv restart shellinaboxd
}
post_upgrade() {
@@ -10,6 +13,10 @@ post_upgrade() {
}
post_remove() {
+ echo "Generate lighttpd include..."
+ gen_light_include.py
+ echo "Forcing a re-read of lighttpd's configuration file..."
+ /sbin/sv hup /service/lighttpd
echo "Remove link to linhes.pem..."
rm /etc/lighttpd/certificate.pem
echo "Remove runit service for shellinaboxd..."