On 21.09.23 at 15:22 etc(a)balosh.net wrote:
Hi Chris thanks, but actually the `systemctl enabled` line works
perfectly
the `systemctl status httpd` is the problem.
My guess would be that the "enable" just does a simple link but needs to running
D-Bus session, while the "status" requires that. As there is no running system
where should it come from?
You could test it "systemctl is-enabled foo.service" works.
Kind Regards
Johannes
--
Johannes Kastl
Linux Consultant & Trainer
Tel.: +49 (0) 151 2372 5802
Mail: kastl(a)b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg
http://www.b1-systems.de
GF: Ralph Dehner
Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537