Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NoCloud-Auto-Installer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NoCloud
NoCloud-Auto-Installer
Commits
4117dee6
Unverified
Commit
4117dee6
authored
Jan 28, 2017
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Restart apache2 in a safe way
parent
9a94008c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
installDolibarr.sh
+1
-0
1 addition, 0 deletions
installDolibarr.sh
installNextcloud.sh
+2
-2
2 additions, 2 deletions
installNextcloud.sh
with
3 additions
and
2 deletions
installDolibarr.sh
+
1
−
0
View file @
4117dee6
...
@@ -140,6 +140,7 @@ sed \
...
@@ -140,6 +140,7 @@ sed \
/etc/apache2/ssl.conf
/etc/apache2/ssl.conf
a2ensite dolibarr-ssl.conf
a2ensite dolibarr-ssl.conf
apachectl configtest
&&
apachectl restart
||
echo
"Failed restartin apache"
echo
"cd
${
SCRIPT_DIRECTORY
}
"
echo
"cd
${
SCRIPT_DIRECTORY
}
"
cd
${
SCRIPT_DIRECTORY
}
cd
${
SCRIPT_DIRECTORY
}
This diff is collapsed.
Click to expand it.
installNextcloud.sh
+
2
−
2
View file @
4117dee6
...
@@ -307,8 +307,8 @@ echo "a2enmod ssl : terminated"
...
@@ -307,8 +307,8 @@ echo "a2enmod ssl : terminated"
a2enmod ssl
a2enmod ssl
a2ensite nextcloud-ssl
a2ensite nextcloud-ssl
echo
"
service
apache
2
restart"
echo
"apache
ctl
restart"
service
apache
2
restart
apachectl configtest
&&
apache
ctl
restart
||
echo
"Failed restartin apache"
echo
"Warning: ssl isn't properly activated, please run certbot then uncomment the contents of /etc/apache2/ssl.conf"
echo
"Warning: ssl isn't properly activated, please run certbot then uncomment the contents of /etc/apache2/ssl.conf"
...
...
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