Skip to content

Commit

Permalink
add/remove some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
takama committed Aug 13, 2014
1 parent ea57136 commit a2e4d4c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ const (
port = ":9977"
)

// Service has embedded daemon
type Service struct {
daemon.Daemon
}

// Manage by daemon commands or run the daemon
func (service *Service) Manage() (string, error) {

usage := "Usage: myservice install | remove | start | stop | status"
Expand Down
2 changes: 2 additions & 0 deletions daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ Example:
port = ":9977"
)
// Service has embedded daemon
type Service struct {
daemon.Daemon
}
// Manage by daemon commands or run the daemon
func (service *Service) Manage() (string, error) {
usage := "Usage: myservice install | remove | start | stop | status"
Expand Down
2 changes: 2 additions & 0 deletions example/myservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ const (
port = ":9977"
)

// Service has embedded daemon
type Service struct {
daemon.Daemon
}

// Manage by daemon commands or run the daemon
func (service *Service) Manage() (string, error) {

usage := "Usage: myservice install | remove | start | stop | status"
Expand Down
1 change: 0 additions & 1 deletion linux_systemd.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Use of this source code is governed by
// license that can be found in the LICENSE file.

// Package daemon linux systemD version
package daemon

import (
Expand Down
1 change: 0 additions & 1 deletion linux_systemv.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Use of this source code is governed by
// license that can be found in the LICENSE file.

// Package daemon linux systemV version
package daemon

import (
Expand Down

0 comments on commit a2e4d4c

Please sign in to comment.