Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ayearout
lmtp2nntp
lmtp2nntp.rc
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lmtp2nntp.rc of Package lmtp2nntp
#!/bin/sh # ### BEGIN INIT INFO # Provides: lmtp2nntp # Required-Start: $network $remote_fs # Required-Stop: $network $remote_fs # Default-Start: 3 5 # Default-Stop: 0 1 2 4 6 # Short-Description: Mail to News Gateway # Description: Mail to News Gateway ### END INIT INFO # LMTP2NNTP_BIN=/usr/sbin/lmtp2nntp LMTP2NNTP_CONFIG=/etc/lmtp2nntp.conf test -x $LMTP2NNTP_BIN || { echo "$LMTP2NNTP_BIN not installed"; if [ "$1" = "stop" ]; then exit 0; else exit 5; fi; } test -f $LMTP2NNTP_CONFIG || { echo "$LMTP2NNTP_CONFIG not found"; if [ "$1" = "stop" ]; then exit 0; else exit 5; fi; } . /etc/rc.status # Reset status of this service rc_reset case "$1" in start) echo -n "Starting lmtp2nntp " /sbin/startproc $LMTP2NNTP_BIN -D -i $LMTP2NNTP_CONFIG rc_status -v ;; stop) echo -n "Shutting down lmtp2nntp " /sbin/killproc -TERM $LMTP2NNTP_BIN rc_status -v ;; restart) ## Stop the service and regardless of whether it was ## running or not, start it again. $0 stop $0 start rc_status ;; reload) # rpcbind does not support reload on signal rc_failed 3 rc_status -v ;; status) echo -n "Checking for service lmtp2nntp " /sbin/checkproc $LMTP2NNTP_BIN rc_status -v ;; *) echo "Usage: $0 {start|stop|status|restart|reload}" 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