Claudia:
> Try putting `systemctl daemon-reload` in rc.local. I haven't tried it, but 
> this should work, as rc.local itself resides on /rw, so /rw has to be 
> available by that time. (Arguably the stock rc.local in Qubes templates 
> should be preinstalled with this line. But then, arguably, systemd should 
> always automatically reload units any time it mounts something.)

I've tried this, and unfortunately it doesn't work IF the goal is to get
the units in /usr/local to participate in the boot process. This is
because by the time qubes-misc-post.service executes
/rw/config/rc.local, the boot process is already well in progress. See
my other reply for more details.

If the goal is simply to make the /usr/local units available to systemd,
for later start/stopping, then it will work. But you cannot enable them
to be started at boot.

I suppose one could add `systemctl daemon-reload` to rc.local and then a
series of `systemctl start your-thing.service` statements, but you still
miss out on the benefits of systemd's 'enable' (After,Before, etc).

~abel

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/ad4e8e45-d644-ba33-06a0-2801160bcf7c%40guardianproject.info.

Reply via email to