Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
ulogd2
etc-init.d-ulogd
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File etc-init.d-ulogd of Package ulogd2
#!/bin/bash ### BEGIN INIT INFO # Provides: ulogd2 # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: Userspace logging daemon for Netfilter # Short-Description: Userspace logging daemon for Netfilter ### END INIT INFO . /etc/rc.status; rc_reset; daemon_bin="/usr/sbin/ulogd"; rc_reset; case "$1" in (start) echo -n "Starting ulogd"; checkproc "$daemon_bin" && echo " (already running)"; startproc -s "$daemon_bin" -u ulogd; rc_status -v; ;; (stop) echo -n "Shutting down ulogd"; checkproc "$daemon_bin" || echo -n " (not running)"; killproc "$daemon_bin"; rc_status -v; ;; (status) echo -n "Checking for ulogd"; checkproc "$daemon_bin"; rc_status -v; ;; (reload) echo -n "Reloading ulogd"; # not supported rc_failed 3; rc_status -v; ;; (restart) "$0" stop; "$0" start; rc_status; ;; (try-restart) "$0" status >/dev/null && "$0" restart; rc_status; ;; (*) echo "Usage: $0 {start|stop|status|try-restart|restart}"; 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