Commit eae316b2 authored by Andres Toomsalu's avatar Andres Toomsalu
Browse files

Introducing nodefabric runlevel target (NF-46)

parent d6f3ead7
[Unit]
Description=NodeFabric Demo App Service
Requires=docker.service
Wants=nf-consul.service
Wants=nf-haproxy.service
After=nf-haproxy.service
Wants=nodefabric.target nf-galera.service
After=nodefabric.target nf-galera.service
[Service]
EnvironmentFile=/etc/nodefabric/conf.d/nf-demo-app.conf
......@@ -21,4 +20,4 @@ docker run --name=$DEMOAPP_INSTANCE -h $HOSTNAME \
ExecStop=-/usr/bin/docker stop $DEMOAPP_INSTANCE
[Install]
WantedBy=multi-user.target
WantedBy=nodefabric.target
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment