[Fedora-i18n-bugs] [groonga] Supply User= and Group= in groonga.service.

Daiki Ueno ueno at fedoraproject.org
Thu Feb 2 03:01:59 UTC 2012


commit 91134b39b0cdc0f53f0ca8725a1c5d39c26ef35f
Author: Daiki Ueno <ueno at unixuser.org>
Date:   Thu Feb 2 12:01:43 2012 +0900

    Supply User= and Group= in groonga.service.

 groonga.service |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/groonga.service b/groonga.service
index 5d77279..b449586 100644
--- a/groonga.service
+++ b/groonga.service
@@ -5,7 +5,9 @@ After=network.target
 [Service]
 Type=forking
 EnvironmentFile=-/etc/sysconfig/groonga
-ExecStart=/usr/bin/groonga -d --pid-path /run/groonga/groonga.pid --address $ADDRESS --log-path $LOG_PATH --query-log-path $QUERY_LOG_PATH --protocol $PROTOCOL $DATABASE
+User=groonga
+Group=groonga
+ExecStart=/usr/bin/groonga -d --pid-path /var/run/groonga/groonga.pid --address $ADDRESS --log-path $LOG_PATH --query-log-path $QUERY_LOG_PATH --protocol $PROTOCOL $DATABASE
 
 [Install]
 WantedBy=multi-user.target


More information about the i18n-bugs mailing list