Skip to content
Snippets Groups Projects
Commit f50adc29 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Binds services to their database

parent 04da0f74
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,9 @@ After=mysql@%i.service
After=%p-importer@%i.service
Before=%p-discovery@%i.service
# Dependency binding
BindsTo=mysql@%i.service
[Service]
Restart=always
ExecStartPre=-/usr/bin/docker kill %p-%i
......
......@@ -15,6 +15,9 @@ After=mysql@%i.service
After=%p-importer@%i.service
Before=%p-discovery@%i.service
# Dependency binding
BindsTo=mysql@%i.service
[Service]
Restart=always
ExecStartPre=-/usr/bin/docker kill %p-%i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment