Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
08d72b69
Commit
08d72b69
authored
Jun 11, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mariadb: listen on ipv6 and register a service on watch
parent
5c2ea485
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
software/mariadb/instance-mariadb.cfg
software/mariadb/instance-mariadb.cfg
+9
-8
No files found.
software/mariadb/instance-mariadb.cfg
View file @
08d72b69
...
...
@@ -19,7 +19,7 @@ offline = true
[url]
recipe = slapos.cookbook:publishurl
url = mysqls://$${mariadb:user}:$${mariadb:password}@[$${
stunnel:remote-host}]:$${stunnel:remote-
port}/$${mariadb:database}
url = mysqls://$${mariadb:user}:$${mariadb:password}@[$${
mariadb:ip}]:$${mariadb:
port}/$${mariadb:database}
[mariadb-cli]
recipe = slapos.cookbook:wrapper
...
...
@@ -36,12 +36,13 @@ recovering = false
user = user
password = insecure
port = 3306
ip = $${slap-network-information:
local-ipv4
}
ip = $${slap-network-information:
global-ipv6
}
database = db
# Paths
wrapper = $${basedirectory:service
s
}/mariadb
update-wrapper = $${basedirectory:service
s
}/mariadb_update
wrapper = $${basedirectory:service}/mariadb
update-wrapper = $${basedirectory:service}/mariadb_update
backup-script = $${rootdirectory:bin}/mariadb_backup
logrotate-post = $${rootdirectory:bin}/mariadb_post_logrotate
backup-directory = $${directory:mariadb-backup}
...
...
@@ -69,7 +70,7 @@ recipe = slapos.cookbook:certificate_authority
openssl-binary = ${openssl:location}/bin/openssl
ca-dir = $${directory:ca-dir}
requests-directory = $${cadirectory:requests}
wrapper = $${basedirectory:service
s
}/ca
wrapper = $${basedirectory:service}/ca
ca-private = $${cadirectory:private}
ca-certs = $${cadirectory:certs}
ca-newcerts = $${cadirectory:newcerts}
...
...
@@ -89,7 +90,7 @@ recipe = slapos.cookbook:certificate_authority.request
key-file = $${directory:stunnel-conf}/stunnel.key
cert-file = $${directory:stunnel-conf}/stunnel.crt
executable = $${stunnel:wrapper}
wrapper = $${basedirectory:service
s
}/stunnel
wrapper = $${basedirectory:service}/stunnel
[stunnel]
recipe = slapos.cookbook:stunnel
...
...
@@ -139,7 +140,7 @@ cron-entries = $${directory:cron-entries}
crontabs = $${directory:crontabs}
cronstamps = $${directory:cronstamps}
catcher = $${cron-simplelogger:wrapper}
binary = $${basedirectory:service
s
}/crond
binary = $${basedirectory:service}/crond
[cron-simplelogger]
recipe = slapos.cookbook:simplelogger
...
...
@@ -170,7 +171,7 @@ bin = $${buildout:directory}/bin/
[basedirectory]
recipe = slapos.cookbook:mkdirectory
log = $${rootdirectory:var}/log/
service
s = $${rootdirectory:etc}/run
/
service
= $${rootdirectory:etc}/service
/
run = $${rootdirectory:var}/run/
backup = $${rootdirectory:srv}/backup/
...
...
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