proxy_role/overlay/Linux/usr/local/etc/local.d/rc.local.start

20 lines
888 B
Plaintext
Raw Normal View History

2024-01-06 01:57:28 +00:00
# On some systems (openrc) the /etc/local.d directory should contain programs
# or scripts which are to be run when the local service is started or stopped.
#
# If a file in this directory is executable and it has a .start extension,
# it will be run when the local service is started. If a file is
# executable and it has a .stop extension, it will be run when the local
# service is stopped.
#
# All files are processed in lexical order.
#
# Keep in mind that files in this directory are processed sequentially,
# and the local service is not considered started or stopped until
# everything is processed, so if you have a process which takes a long
# time to run, it can delay your boot or shutdown processing.
# copying this file to /etc/local.d/ will run the /etc/rc.local file on startup
# On systemd systems you must add the rc.local service with systemctl.
sh /etc/rc.local