Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos
Commits
37d067b6
Commit
37d067b6
authored
Jun 05, 2013
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apache-frontend: Put graceful, reload and prepare in etc/run in order to avoid bang
parent
89ef94e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
software/apache-frontend/instance.cfg
software/apache-frontend/instance.cfg
+5
-4
No files found.
software/apache-frontend/instance.cfg
View file @
37d067b6
...
@@ -44,6 +44,7 @@ backup = $${:srv}/backup
...
@@ -44,6 +44,7 @@ backup = $${:srv}/backup
log = $${:var}/log
log = $${:var}/log
run = $${:var}/run
run = $${:var}/run
service = $${:etc}/service
service = $${:etc}/service
etc-run = $${:etc}/run
promise = $${:etc}/promise
promise = $${:etc}/promise
logrotate-backup = $${:backup}/logrotate
logrotate-backup = $${:backup}/logrotate
...
@@ -390,7 +391,7 @@ create = true
...
@@ -390,7 +391,7 @@ create = true
[squid-cache]
[squid-cache]
recipe = slapos.cookbook:squid
recipe = slapos.cookbook:squid
prepare-path = $${directory:
service
}/squid-prepare
prepare-path = $${directory:
etc-run
}/squid-prepare
wrapper-path = $${directory:service}/squid
wrapper-path = $${directory:service}/squid
binary-path = ${squid:location}/sbin/squid
binary-path = ${squid:location}/sbin/squid
conf-path = $${directory:etc}/squid.cfg
conf-path = $${directory:etc}/squid.cfg
...
@@ -407,17 +408,17 @@ pid-filename-path = $${directory:run}/squid.pid
...
@@ -407,17 +408,17 @@ pid-filename-path = $${directory:run}/squid.pid
[squid-reload]
[squid-reload]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line = ${buildout:bin-directory}/killpidfromfile $${squid-cache:pid-filename-path} SIGHUP
command-line = ${buildout:bin-directory}/killpidfromfile $${squid-cache:pid-filename-path} SIGHUP
wrapper-path = $${directory:
service
}/squid-reload
wrapper-path = $${directory:
etc-run
}/squid-reload
[frontend-apache-graceful]
[frontend-apache-graceful]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line = ${buildout:bin-directory}/killpidfromfile $${apache-configuration:pid-file} SIGUSR1
command-line = ${buildout:bin-directory}/killpidfromfile $${apache-configuration:pid-file} SIGUSR1
wrapper-path = $${directory:
service
}/frontend-apache-graceful
wrapper-path = $${directory:
etc-run
}/frontend-apache-graceful
[cached-apache-graceful]
[cached-apache-graceful]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line = ${buildout:bin-directory}/killpidfromfile $${apache-configuration:cache-pid-file} SIGUSR1
command-line = ${buildout:bin-directory}/killpidfromfile $${apache-configuration:cache-pid-file} SIGUSR1
wrapper-path = $${directory:
service
}/cached-apache-graceful
wrapper-path = $${directory:
etc-run
}/cached-apache-graceful
[promise-apache-frontend-v4-https]
[promise-apache-frontend-v4-https]
recipe = slapos.cookbook:check_port_listening
recipe = slapos.cookbook:check_port_listening
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment