1
0
mirror of https://github.com/bestnite/quadlet-migrator-skill.git synced 2026-04-26 17:21:52 +00:00
Files
quadlet-migrator-skill/references/template/restart_template.sh
T
nite 62704d3a2d Add helper script templates and align reference guidance.
Point helper-script generation at shared templates, tighten prefix-based Quadlet handling, and refresh the bundled Quadlet reference formatting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 17:55:30 +11:00

16 lines
296 B
Bash

#!/bin/sh
set -eu
# Restart the reviewed lifecycle unit(s).
# Update the variables and systemctl_cmd() function below before using this template.
LIFECYCLE_UNITS='app-pod.service'
systemctl_cmd() {
systemctl --user "$@"
}
for unit in $LIFECYCLE_UNITS; do
systemctl_cmd restart "$unit"
done