summaryrefslogtreecommitdiffstats
path: root/abs/extra/shellinabox/shellinaboxd.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/shellinabox/shellinaboxd.install')
-rw-r--r--abs/extra/shellinabox/shellinaboxd.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/extra/shellinabox/shellinaboxd.install b/abs/extra/shellinabox/shellinaboxd.install
new file mode 100644
index 0000000..466ba3c
--- /dev/null
+++ b/abs/extra/shellinabox/shellinaboxd.install
@@ -0,0 +1,17 @@
+post_install() {
+ 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
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ echo "Remove link to linhes.pem..."
+ rm /etc/lighttpd/certificate.pem
+ echo "Remove runit service for shellinaboxd..."
+ remove_service.sh shellinaboxd
+}