Current section
Files
Jump to
Current section
Files
priv/templates/restart.eex
#!/bin/sh
# Restart services on target
set -e
# Config vars
SERVICE_NAME="${SERVICE_NAME:-"<%= service_name %>"}"
/bin/systemctl restart "${SERVICE_NAME}"