Files
ssm/examples/services/rc.local
T

14 lines
339 B
Plaintext
Raw Normal View History

2018-03-09 02:31:14 +03:00
#!/usr/bin/env ssm
2026-11-27 16:14:30 +00:00
# /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.
2018-03-09 02:31:14 +03:00
2026-11-27 16:14:30 +00:00
service_oneshot = yes
if [[ -x /etc/rc.local ]]; then
service_command = /etc/rc.local
else
service_command = /bin/true
fi