Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
IQRF Gateway Webapp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Weblate
IQRF Gateway Webapp
Commits
52e48906
Unverified
Commit
52e48906
authored
5 years ago
by
Roman Ondráček
Browse files
Options
Downloads
Patches
Plain Diff
Debian packaging: fix Apache2 configuration installation
Signed-off-by:
Roman Ondráček
<
ondracek.roman@centrum.cz
>
parent
da0ef9f3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/postinst
+10
-6
10 additions, 6 deletions
debian/postinst
with
10 additions
and
6 deletions
debian/postinst
+
10
−
6
View file @
52e48906
#!/bin/sh
# postinst script for iqrf-gateway-webapp
set
-e
set
-e
x
nginx_virtualhost_install
()
{
nginx_virtualhost_old_remove
...
...
@@ -86,9 +86,13 @@ if [ "$1" = "configure" ]; then
webapp_repair_premissions
fi
if
true
;
then
if
[
-e
/usr/share/apache2/apache2-maintscript-helper
]
;
then
.
/usr/share/apache2/apache2-maintscript-helper
apache2_invoke enmod deflate filter headers http2 rewrite ssl
apache2_invoke dissite 000-default.conf
for
mod
in
deflate filter headers http2 rewrite ssl
;
do
apache2_invoke enmod
$mod
||
true
done
apache2_invoke dissite 000-default.conf
||
true
apache2_invoke ensite iqrf-gateway-webapp.conf
||
exit
1
fi
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment