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

12 lines
222 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
setenforce 1