[WIP] Add the ability to specify --root. #58017
When systemd is not running but changes has to be made such as enabling or disabling services,
Also fix how scope is added, it should ony be needed with commands that use a 'unit'
tchernomax left a comment
Also (but not related to this PR):
This code "fail" on the following configuration ; it detect the service as enabled, even the init.d service is supersede by the systemd service… and disabled:
This warning is only triggered when you add an /etc/init.d/… file and don't daemon-reload.
Just use is_masked (be sure to initialize it).