projects
/
projects.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d4c1c0
)
phpide-d10
author
Michael Wagner
<info@wagnertech.de>
Wed, 3 Jun 2020 13:17:53 +0000
(15:17 +0200)
committer
Michael Wagner
<info@wagnertech.de>
Wed, 3 Jun 2020 13:17:53 +0000
(15:17 +0200)
debian/verleihnix.postinst
patch
|
blob
|
history
diff --git
a/debian/verleihnix.postinst
b/debian/verleihnix.postinst
index
4f72e56
..
9f30658
100755
(executable)
--- a/
debian/verleihnix.postinst
+++ b/
debian/verleihnix.postinst
@@
-37,6
+37,11
@@
fi
# Apache configuration
sctl=$(which systemctl) || sctl=$(which sysd2sysv) || (echo "install sysd2sysv"; exit 1)
-a2ensite verleihnix
+# activate verleihnix configuration
+if ! test -e /etc/apache2/sites-enabled/verleihnix.conf
+then
+ ln -s /etc/apache2/sites-available/verleihnix.conf /etc/apache2/sites-enabled
+ echo "verleihnix-apache2 configration enabled"
+fi
$sctl reload apache2