Skip to content

Commit

Permalink
The diamond pidfile dir is created by the install script and upon reb…
Browse files Browse the repository at this point in the history
…ooting the host machine, diamond cannot restart as the /var/run dir has been cleared by the reboot.

This commit changes the pidfile location to /var/run from /var/run/diamond.
  • Loading branch information
ChamaraG committed May 6, 2013
1 parent 057407d commit aee4b2e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debian/diamond.default
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@

# Additional options that are passed to the Daemon.
ENABLE_DIAMOND="yes"
DIAMOND_PID="/var/run/diamond/diamond.pid"
DIAMOND_PID="/var/run/diamond.pid"
DIAMOND_USER="diamond"
1 change: 0 additions & 1 deletion debian/dirs
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
etc/diamond/collectors
var/log/diamond
var/run/diamond
2 changes: 1 addition & 1 deletion debian/upstart/diamond.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ script
. /etc/default/diamond
else
ENABLE_DIAMOND="yes"
DIAMOND_PID="/var/run/diamond/diamond.pid"
DIAMOND_PID="/var/run/diamond.pid"
DIAMOND_USER="diamond"
fi

Expand Down

0 comments on commit aee4b2e

Please sign in to comment.