[Groonga-commit] groonga/groonga [master] rpm fedora: add .service file

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 26日 (木) 11:56:22 JST


HAYASHI Kentaro	2012-07-26 11:56:22 +0900 (Thu, 26 Jul 2012)

  New Revision: 4d24139f1165084df66cb5e696feab29d56e2a4e
  https://github.com/groonga/groonga/commit/4d24139f1165084df66cb5e696feab29d56e2a4e

  Log:
    rpm fedora: add .service file

  Added files:
    data/systemd/fedora/groonga-httpd.service
  Modified files:
    packages/rpm/fedora/groonga.spec.in

  Added: data/systemd/fedora/groonga-httpd.service (+14 -0) 100644
===================================================================
--- /dev/null
+++ data/systemd/fedora/groonga-httpd.service    2012-07-26 11:56:22 +0900 (3894915)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Groonga HTTP Server
+After=network.target
+Conflicts=groonga.service
+
+[Service]
+Type=forking
+User=groonga
+Group=groonga
+ExecStart=/usr/sbin/groonga-httpd
+ExecStop=/usr/sbin/groonga-httpd -s
+
+[Install]
+WantedBy=multi-user.target

  Modified: packages/rpm/fedora/groonga.spec.in (+1 -0)
===================================================================
--- packages/rpm/fedora/groonga.spec.in    2012-07-26 10:43:50 +0900 (c35b75c)
+++ packages/rpm/fedora/groonga.spec.in    2012-07-26 11:56:22 +0900 (3370166)
@@ -283,6 +283,7 @@ fi
 %files httpd
 %defattr(-,root,root,-)
 %config(noreplace) %{_sysconfdir}/groonga/httpd/*
+%dir %{_unitdir}/groonga-httpd.service
 %{_sbindir}/groonga-httpd
 
 %files doc
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
下載 



Groonga-commit メーリングリストの案内
Back to archive index