Files
ssm/examples/services/rc.local
T

10 lines
192 B
Plaintext
Raw Normal View History

2018-03-09 02:31:14 +03:00
#!/usr/bin/env ssm
service_type = oneshot
service_command = /etc/rc.local
pre_start() {
# Do nothing, successfully, if /etc/rc.local is not executable.
[[ -x "/etc/rc.local" ]] || die 0
}