mirror of
https://github.com/bestnite/quadlet-migrator-skill.git
synced 2026-04-26 19:21:53 +00:00
62704d3a2d
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>
16 lines
290 B
Bash
16 lines
290 B
Bash
#!/bin/sh
|
|
set -eu
|
|
|
|
# Stop 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 stop "$unit"
|
|
done
|