[systemd-devel] Antw: [EXT] Re: Extend systemd-resolved service to override DNS response

2023-02-20 Thread Ulrich Windl
>>> Barry Scott schrieb am 15.02.2023 um 15:29 in Nachricht <9ce7d348-327c-4c22-9a54-c57fef4df...@barrys-emacs.org>: > >> On 15 Feb 2023, at 10:31, Aditya Sharma wrote: >> >> Hi Kevin, >> >> When the TTLs expire, those records in the cache become 'stale', and are > normally purged. Your requ

[systemd-devel] Antw: [EXT] Launch a mount unit from udev rule via ENV{SYSTEMD_WANTS}

2023-02-20 Thread Ulrich Windl
>>> Jacopo schrieb am 15.02.2023 um 17:59 in Nachricht : > I'be been having issues lately trying to automatically remount an external > USB drive that is mounted at boot from an fstab entry: > LABEL=data-ssd /opt/data-ssd ext4 defaults,nofail,users 0 2 > > I'm using systemd 244 and after som

[systemd-devel] Smooth upgrades for socket activated services

2023-02-20 Thread Mike Hearn
Hi, I'm exploring socket activation as part of work on a tool that makes systemd-controlled servers easier to deploy and use. Given a config file the tool builds a package that contains the app and systemd units, uploads it, installs it with dependency resolution, the postinst scripts start the se

Re: [systemd-devel] Smooth upgrades for socket activated services

2023-02-20 Thread Michael Biebl
Am Mo., 20. Feb. 2023 um 11:06 Uhr schrieb Mike Hearn : > > Hi, > > I'm exploring socket activation as part of work on a tool that makes > systemd-controlled servers easier to deploy and use. Given a config > file the tool builds a package that contains the app and systemd > units, uploads it, inst

Re: [systemd-devel] Smooth upgrades for socket activated services

2023-02-20 Thread Mike Hearn
I see. So basically you have to keep the service running across the upgrade and then wait for it to shut down due to inactivity, then be restarted by systemd to make the update apply. Or alternatively you could make the app detect that it's been updated, stop accepting new connections, finish servi