Apply go-runit changes: Specify service directory

This commit is contained in:
Johannes 'fish' Ziemke 2014-02-07 19:01:04 +01:00
parent 94065ff28b
commit e74048224f
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ func NewRunitCollector(config config, registry prometheus.Registry) (runitCollec
func (c *runitCollector) Name() string { return c.name }
func (c *runitCollector) Update() (updates int, err error) {
services, err := runit.GetServices()
services, err := runit.GetServices("/etc/service")
if err != nil {
return 0, err
}