[opensuse-packaging] systemd macroes
Hi, It is not clear how to use %service_add_pre and co. correctly. If I have foo.service and foo.socket, should I use %service_add_pre foo.service or %service_add_pre foo.service foo.socket ? Different packages use different strategy. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Le mercredi 19 février 2014 à 12:18 +0400, Matwey V. Kornilov a écrit :
Hi,
It is not clear how to use %service_add_pre and co. correctly. If I have foo.service and foo.socket, should I use
%service_add_pre foo.service
or
%service_add_pre foo.service foo.socket
?
Different packages use different strategy.
It depends if you want the socket to be handled by presets (just like
the service) but in general, add both socket and service to the macro
call.
--
Frederic Crozat
participants (2)
-
Frederic Crozat
-
Matwey V. Kornilov