Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pheinlein
up-imapproxy
up-imapproxy.init
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File up-imapproxy.init of Package up-imapproxy
#!/bin/sh ## ## Copyright (c) 2002,2003 Dave McMurtrie ## ## This file is part of imapproxy. ## ## imapproxy is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## imapproxy is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with imapproxy; if not, write to the Free Software ## Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301 USA ## ## ## Facility: ## ## imapproxy.init ## ## Abstract: ## ## in.imapproxyd startup script ## ## Authors: ## ## Dave McMurtrie <davemcmurtrie@hotmail.com> ## ## RCS: ## ## $Source: /afs/pitt.edu/usr12/dgm/work/IMAP_Proxy/scripts/RCS/imapproxy,v $ ## $Id: imapproxy,v 1.2 2002/12/19 21:48:07 dgm Exp $ ## ## Modification History: ## ## $Log: imapproxy,v $ ## Revision 1.3 2012/12/26 21:48:07 rla ## Added an LSB Short-Description header and a reload section ## Revision 1.2 2002/12/19 21:48:07 dgm ## Removed the notion of the startup script reading the config file and ## passing arguments to the server process on startup. ## ## Revision 1.1 2002/07/03 14:02:55 dgm ## Initial revision ## ## # # Init file for up-imapproxy server daemon for SuSE # Peer Heinlein, <p.heinlein@heinlein-support.de>, 8.5.2007 # ### BEGIN INIT INFO # Provides: up-imapproxy # Required-Start: $local_fs $remote_fs $network # Required-Stop: local_fs $remote_fs $network # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: up-imapproxy for webmailers # Description: Start up-imapproxy ### END INIT INFO Pgm=`/bin/basename $0` PROXY_BIN=/usr/sbin/in.imapproxyd # First reset status of this service . /etc/rc.status case $1 in start) if [ ! -f $PROXY_BIN ]; then /bin/echo "$Pgm: $PROXY_BIN does not exist. Not starting IMAP proxy server." 1>&2 exit 1 fi echo -n "Starting up-imapproxy-daemon:" startproc -p /var/run/up-imapproxy.pid $PROXY_BIN rc_status -v ;; stop) echo -n "Shutting down up-imapproxy-daemon:" killproc -p /var/run/up-imapproxy.pid $PROXY_BIN rc_status -v ;; restart | reload) $0 stop $0 start rc_status ;; status) echo -n "Checking for service postgrey-daemon:" checkproc -p /var/run/up-imapproyy.pid up-imapproxy rc_status -v ;; *) echo "Usage: $Pgm {start|stop|status|reload|restart}" 1>&2 exit 1 ;; esac rc_exit
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor