Files
ssm/examples/services/rc.local
T
fbt f74df5962e Better examples
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-27 16:14:30 +00:00

14 lines
339 B
Plaintext
Executable File

#!/usr/bin/env ssm
# /etc/rc.local — a oneshot service that runs whatever the system admin
# drops there. Missing or non-executable files are not an error; the
# system may legitimately have no rc.local.
service_oneshot = yes
if [[ -x /etc/rc.local ]]; then
service_command = /etc/rc.local
else
service_command = /bin/true
fi