rpms/gypsy/F-11 0001-Make-gypsy-run-as-a-system-service.patch, NONE, 1.1

Bastien Nocera hadess at fedoraproject.org
Fri Jun 19 12:48:21 UTC 2009


Author: hadess

Update of /cvs/pkgs/rpms/gypsy/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5712

Added Files:
	0001-Make-gypsy-run-as-a-system-service.patch 
Log Message:
* Fri Jun 19 2009 Bastien Nocera <bnocera at redhat.com> 0.6-9
- Gypsy is supposed to run as a system service, as root

0001-Make-gypsy-run-as-a-system-service.patch:

--- NEW FILE 0001-Make-gypsy-run-as-a-system-service.patch ---
>From bc78b39b170e6deda19327aa2ea1a08cdbc2a311 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Fri, 19 Jun 2009 12:59:24 +0100
Subject: [PATCH] Make gypsy run as a system service

Fix the location of the service file, and make sure gypsy gets
run as root.
---
 configure.ac                     |    2 +-
 org.freedesktop.Gypsy.service.in |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7aa1b3b..a8169b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,7 @@ DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
 AC_SUBST(DBUS_SYS_DIR)
 AC_DEFINE_UNQUOTED(DBUS_SYS_DIR, "$DBUS_SYS_DIR", [Where the system dir for D-Bus is])
 
-DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
+DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
 AC_SUBST(DBUS_SERVICES_DIR)
 AC_DEFINE_UNQUOTED(DBUS_SERVICES_DIR, "$DBUS_SERVICES_DIR", [Where services dir for D-Bus is])
 
diff --git a/org.freedesktop.Gypsy.service.in b/org.freedesktop.Gypsy.service.in
index ae7b9ef..f93eed6 100644
--- a/org.freedesktop.Gypsy.service.in
+++ b/org.freedesktop.Gypsy.service.in
@@ -1,3 +1,4 @@
 [D-BUS Service]
 Name=org.freedesktop.Gypsy
 Exec=@libexecdir@/gypsy-daemon
+User=root
-- 
1.6.2.2





More information about the fedora-extras-commits mailing list