-
For native openrc-run scripts, fiddling with the links before the script is run actually prevents it from running as openrc-run detects the status has been changed and considers the script as already started. Fixes:- > grep '^#! */\(usr/\)\?sbin/openrc-run' /etc/init.d/fstrim #!/sbin/openrc-run > sudo service fstrim status * status: stopped > sudo service fstrim start * WARNING: fstrim has already been started Closes: #1081994
For native openrc-run scripts, fiddling with the links before the script is run actually prevents it from running as openrc-run detects the status has been changed and considers the script as already started. Fixes:- > grep '^#! */\(usr/\)\?sbin/openrc-run' /etc/init.d/fstrim #!/sbin/openrc-run > sudo service fstrim status * status: stopped > sudo service fstrim start * WARNING: fstrim has already been started Closes: #1081994