2aed6cf321
1- Enable it by default but give a chance to also disable it. 2- Rather than passing ACTION via envvar, pass it as first argument in run-parts.
12 lines
257 B
Desktop File
12 lines
257 B
Desktop File
[Unit]
|
|
Description=/etc/local.d execution
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/run-parts --arg="start" /etc/local.d
|
|
ExecStop=/usr/bin/run-parts --arg="stop" --reverse /etc/local.d
|
|
TimeoutSec=0
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|