Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-collectd-551
CS-collectd
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CS-collectd of Package dba-collectd-551
#!/bin/bash # # collectd Startup script for the Collectd statistics gathering daemon # chkconfig: - 86 15 # description: Collectd is a statistics gathering daemon used to collect \ # system information ie. cpu, memory, disk, network # processname: collectd # config: /etc/collectd.conf # config: /etc/sysconfig/collectd # pidfile: /var/run/collectd.pid # Source function library. . /etc/init.d/functions start () { echo -n $"Starting collectd: " if [ -r "/etc/collectd.conf" ] then daemon sudo -u dbasys '/usr/sbin/collectd -C /etc/collectd.conf' fi } stop () { echo -n $"Stopping collectd: " sudo -u dbasys sh -c '. /etc/init.d/functions; killproc collectd' } # See how we were called. case "$1" in start) start ;; stop) stop ;; restart|reload) stop start ;; *) echo $"Usage: $0 {start|stop|restart|reload}" exit 1 esac exit $? # vim:syntax=sh
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