Re: [systemd-devel] Reload simple

2023-10-27 Thread Ferenc Wágner
Andy Pieters writes: > Is there a good way to send a usr1 signal upon reload of a service > with type=simple? > > I don't really want to do KILL USR1 $(pidof process) as that could > pull other processes with similar names / instances. Use $MAINPID as per man systemd.service: ExecReload=

Re: [systemd-devel] Why is my reboot.target disabled?

2023-07-05 Thread Ferenc Wágner
Andrei Borzenkov writes: > On 04.07.2023 14:58, Ferenc Wágner wrote: > >> Please help me understand this phenomenon (systemd 252): >> >> $ systemctl status ctrl-alt-del.target >> ○ reboot.target - System Reboot >> Loaded: loaded (/lib/systemd/sy

[systemd-devel] Why is my reboot.target disabled?

2023-07-04 Thread Ferenc Wágner
Hi, Please help me understand this phenomenon (systemd 252): $ systemctl status ctrl-alt-del.target ○ reboot.target - System Reboot Loaded: loaded (/lib/systemd/system/reboot.target; disabled; preset: enabled) Active: inactive (dead) Docs: man:systemd.special(7) $ ls -l

[systemd-devel] Correct shutdown ordering with socket-activated dependencies

2023-06-18 Thread Ferenc Wágner
Hi, As an example, please consider rabbitmq-server.service, which is an Erlang application, so it uses the services of the Erlang Port Mapper Daemon (epmd), which is socket-activated: # /lib/systemd/system/rabbitmq-server.service [Unit] After=epmd.socket Wants=epmd.socket #

[systemd-devel] [PATCH] Fix typo in udevadm documentation

2012-10-15 Thread Ferenc Wágner
Signed-off-by: Ferenc Wágner wf...@niif.hu --- man/udevadm.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/udevadm.xml b/man/udevadm.xml index b46a5f5..accf701 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -363,7 +363,7 @@ varlistentry