Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:netpolice:unix-corporate
host2cat
host2cat.init
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File host2cat.init of Package host2cat
#!/bin/sh # # ### BEGIN INIT INFO # Provides: host2cat # Required-Start: $syslog $remote_fs # Should-Start: # Required-Stop: $syslog $remote_fs # Should-Stop: # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: DNS resolver # Description: Super program ### END INIT INFO # Do not load RH compatibility interface. WITHOUT_RC_COMPAT=1 # Source function library. . /etc/init.d/functions # Check for and source configuration file otherwise set defaults SourceIfNotEmpty /etc/sysconfig/host2cat LOCKFILE=/var/lock/subsys/host2cat RETVAL=0 start() { start_daemon --lockfile "$LOCKFILE" -- host2cat ${HOST2CAT_OPTIONS} RETVAL=$? return $RETVAL } stop() { stop_daemon --lockfile "$LOCKFILE" -- host2cat RETVAL=$? return $RETVAL } restart() { stop start } # See how we were called. case "$1" in start) start ;; stop) stop ;; reload|restart) restart ;; condstop) if [ -e "$LOCKFILE" ]; then stop fi ;; condrestart) if [ -e "$LOCKFILE" ]; then restart fi ;; condreload) if [ -e "$LOCKFILE" ]; then reload fi ;; status) status -- host2cat RETVAL=$? ;; *) msg_usage "${0##*/} {start|stop|reload|restart|condstop|condrestart|condreload|status}" RETVAL=1 esac exit $RETVAL
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