On 10 April 2013 06:46, Koen Kooi wrote:
> In the specific case of upgrades you'll need to add a
>
> systemctl --system daemon-reload
>
> to catch changed unit files as well.
Good catch, thanks.
I'm not entirely optimistic about opkg postinsts being able to tell
the difference between up
Op 9 apr. 2013, om 17:48 heeft Ross Burton het volgende
geschreven:
> When upgrading packages it's possible that the service is already running
> because opkg doesn't actually execute the prerm hooks on upgrades, which is
> where the service should be stopped.
>
> Handle this case by restartin
When upgrading packages it's possible that the service is already running
because opkg doesn't actually execute the prerm hooks on upgrades, which is
where the service should be stopped.
Handle this case by restarting in postinst instead of starting. If the service
isn't already running then this