Skip to content

Commit

Permalink
Merge pull request #10 from Sheile/feature/fix-proc-source
Browse files Browse the repository at this point in the history
Use a correct process name when start service from /etc/rc3.d/S87xxxx
  • Loading branch information
takama committed Jul 3, 2015
2 parents ebfaf64 + 33b7d1e commit e3bd4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon_linux_systemv.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ fi
exec="{{.Path}}"
servname="{{.Description}}"
proc=$(basename $0)
proc=$(basename $exec)
pidfile="/var/run/$proc.pid"
lockfile="/var/lock/subsys/$proc"
stdoutlog="/var/log/$proc.log"
Expand Down

0 comments on commit e3bd4e9

Please sign in to comment.