Am 15.09.19 um 05:12 schrieb Daniel Duong:
> I have a 2 template units: 1 for a service and 1 for a socket. Each
> instance is a version of my web application.
> 
> After a successful deploy, I stop and disable the old version and I
> enable the new one:
>       systemctl start [email protected]
>       # Test that everything is fine
>       systemctl enable [email protected]
>       systemctl stop [email protected]
>       systemctl stop [email protected]
>       systemctl disable [email protected]
> 
> I've done that for a few versions now, and it seemed to work OK. There
> is a little problem though. The old versions are still loaded
what about "systemctl daemon-reload"?
it's not mentioned anywhere in your post
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to