magnum/magnum/templates/docker-swarm/fragments/enable-services.sh

10 lines
208 B
Bash

#!/bin/sh
echo "starting services"
systemctl daemon-reload
for service in $NODE_SERVICES; do
echo "activating service $service"
systemctl enable $service
systemctl --no-block start $service
done