2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Set pp_macos_service_id instead of pp_macos_default_service_id_prefix.

It is only effective to set pp_macos_default_service_id_prefix in
the indivisual %service sections (and not %set) so we may was well
use pp_macos_service_id which includes the service name.
This commit is contained in:
Todd C. Miller 2020-04-22 12:40:52 -06:00
parent c70606c3c9
commit 8c5befaae8

View File

@ -134,7 +134,6 @@ This makes it possible to have all sudo I/O logs on a central server."
%if [macos]
pp_macos_bundle_id=ws.sudo.pkg.sudo
pp_macos_default_service_id_prefix=ws.sudo.
pp_macos_pkg_license=${pp_destdir}$docdir/LICENSE
pp_macos_pkg_readme=${pp_wrkdir}/ReadMe.txt
pp_macos_pkg_type=flat
@ -221,6 +220,9 @@ This makes it possible to have all sudo I/O logs on a central server."
cmd=${sbindir}/sudo_logsrvd
pidfile=${rundir}/sudo_logsrvd.pid
%endif
%if [macos]
pp_macos_service_id=ws.sudo.sudo_logsrvd
%endif
%if [rpm,deb]
# Only include systemd support if we find systemctl on the build
# machine. This assumes that we are building on the same distro