Mailinglist Archive: opensuse-bugs (3912 mails)

< Previous Next >
[Bug 914415] systemctl restart socket unit will start service too
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 02 Feb 2015 14:12:41 +0000
  • Message-id: <bug-914415-21960-Yi3xwvYbV9@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=914415

Dr. Werner Fink <werner@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |jengelh@xxxxxxx

--- Comment #21 from Dr. Werner Fink <werner@xxxxxxxx> ---
(In reply to Liuhua Wang from comment #20)

The macro

%service_add_post()

does *not* use the command start nor stop nor try-restart but only preset.

Maybe it would make sense to skip types *.socket from from start and
try-restart. Nevertheless removing the *.socket from %service_del_preun(),
%service_del_postun(), and %systemd_postun_with_restart() should be enough
(IMHO)

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >