summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2025-02-07 00:19:32 +0500
committerAnton Bobov <anton@bobov.name>2025-02-07 00:20:11 +0500
commitbdfa3ff4399d2fbf30fd9fae59d48f397474ab1e (patch)
tree4f101526407c1a934e698756f5365fb4cc91a50e
parent66ac4625bca22a6423ce24c82c45fced0899f3df (diff)
Add script to edit systemd units
-rwxr-xr-xsce6
1 files changed, 5 insertions, 1 deletions
diff --git a/sce b/sce
index c1f7659..53f92f6 100755
--- a/sce
+++ b/sce
@@ -4,7 +4,11 @@
set -euo pipefail
usage() {
- echo "Usage: ${0##*/} [OPTIONS] unit-name" >&2
+ cat <<EOF >&2
+Usage: ${0##*/} [OPTIONS] unit-name
+
+OPTIONS is systemctl options. User --user for user service.
+EOF
exit 1
}