From 36a70b161c32653cf8d7f2bdf83c6d0c4aac9b76 Mon Sep 17 00:00:00 2001 From: peruchi Date: Tue, 31 Mar 2015 14:19:16 -0300 Subject: [PATCH] Create sogo-systemd-redhat --- Scripts/sogo-systemd-redhat | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Scripts/sogo-systemd-redhat diff --git a/Scripts/sogo-systemd-redhat b/Scripts/sogo-systemd-redhat new file mode 100644 index 000000000..7fdd56b96 --- /dev/null +++ b/Scripts/sogo-systemd-redhat @@ -0,0 +1,12 @@ +[Unit] +Description=SOGo is a groupware server +After=network.target + +[Service] +Type=forking +ExecStart=/usr/sbin/sogod -WOWorkersCount 3 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log +PIDFile=/var/run/sogo/sogo.pid +User=sogo + +[Install] +WantedBy=multi-user.target