On Mon, Feb 7, 2022 at 5:52 PM Barry wrote:
>
>
> On 7 Feb 2022, at 19:19, Kevin P. Fleming wrote:
>
>
> Slightly off-topic, but I think it's relevant:
>
> If 'myservice' and 'ods-prx' are referring to the same thing, I think
> you're supposed to use 'systemctl preset' instead of 'systemctl
> On 7 Feb 2022, at 19:19, Kevin P. Fleming wrote:
>
>
> Slightly off-topic, but I think it's relevant:
>
> If 'myservice' and 'ods-prx' are referring to the same thing, I think you're
> supposed to use 'systemctl preset' instead of 'systemctl enable'. This allows
> the admin to decide
Slightly off-topic, but I think it's relevant:
If 'myservice' and 'ods-prx' are referring to the same thing, I think
you're supposed to use 'systemctl preset' instead of 'systemctl enable'.
This allows the admin to decide whether the installed
service/target/timer/etc. should be enabled during
This is not for a package in Fedora, its for a package I'm
working on for Oracle Linux 8.
I install /usr/lib/systemd/system/myservice.target
that has:
[Install]
WantedBy=multi-user.target
In %post I run this:
ls -l /etc/systemd/system/multi-user.target.wants
/usr/bin/systemctl --no-reload