goetia-linux
goetia
Software
0x53.net

The local service

local is a oneshot service.

The files are executed in random order and in parallel.

Examples

An executable file /etc/local.d/echo.up with the content

#!/bin/execlineb -P

echo "example"
        		
would be executed and write "example" to the system log upon starting the service local.

An executable file /etc/local.d/echo.down with the content

#!/bin/execlineb -P

echo "example"
        		
would be executed and write "example" to the system log upon stopping the service local.