/[packages]/cauldron/obm-satellite/current/SOURCES/obm-satellite.sh
ViewVC logotype

Annotation of /cauldron/obm-satellite/current/SOURCES/obm-satellite.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 398268 - (hide annotations) (download) (as text)
Wed Feb 13 21:14:56 2013 UTC (8 years, 7 months ago) by neoclust
File MIME type: application/x-sh
File size: 2250 byte(s)
imported package obm-satellite
1 neoclust 398268 #! /bin/sh
2     # Copyright (C) 2011-2012 Linagora
3     #
4     # This program is free software: you can redistribute it and/or modify it under
5     # the terms of the GNU Affero General Public License as published by the Free
6     # Software Foundation, either version 3 of the License, or (at your option) any
7     # later version, provided you comply with the Additional Terms applicable for OBM
8     # software by Linagora pursuant to Section 7 of the GNU Affero General Public
9     # License, subsections (b), (c), and (e), pursuant to which you must notably (i)
10     # retain the displaying by the interactive user interfaces of the “OBM, Free
11     # Communication by Linagora” Logo with the “You are using the Open Source and
12     # free version of OBM developed and supported by Linagora. Contribute to OBM R&D
13     # by subscribing to an Enterprise offer !” infobox, (ii) retain all hypertext
14     # links between OBM and obm.org, between Linagora and linagora.com, as well as
15     # between the expression “Enterprise offer” and pro.obm.org, and (iii) refrain
16     # from infringing Linagora intellectual property rights over its trademarks and
17     # commercial brands. Other Additional Terms apply, see
18     # <http://www.linagora.com/licenses/> for more details.
19     #
20     # This program is distributed in the hope that it will be useful, but WITHOUT ANY
21     # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
22     # PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
23     #
24     # You should have received a copy of the GNU Affero General Public License and
25     # its applicable Additional Terms for OBM along with this program. If not, see
26     # <http://www.gnu.org/licenses/> for the GNU Affero General Public License
27     # version 3 and <http://www.linagora.com/licenses/> for the Additional Terms
28     # applicable to the OBM software.
29    
30    
31    
32     REP_ETC_OBM="/etc/obm"
33     REP_ETC_OBM_SATELITE="/etc/obm-satellite"
34     REP_RUN="/var/run"
35     obmconf="${REP_ETC_OBM}/obm-rpm.conf"
36     NEWFILE="${REP_ETC_OBM}/obm_conf.ini"
37     CMD_INIT_OBM_SATELITE="/etc/init.d/obmSatellite"
38    
39     # check if the file exist
40    
41     if [ -s "${REP_RUN}/obm/obmSatellite.pid" ]; then
42     $CMD_INIT_OBM_SATELITE restart
43     else
44     $CMD_INIT_OBM_SATELITE start
45     fi
46    
47     echo
48     echo -e "======================= End Config obm-satellite =======================\n"

Properties

Name Value
svn:eol-style native
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.28