Skip to content

Commit

Permalink
default pid file /var/run/ceph/$type.$id.pid
Browse files Browse the repository at this point in the history
  • Loading branch information
liewegas committed Nov 3, 2009
1 parent a4b7dc4 commit 3023509
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion RELEASE_CHECKLIST
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
- commit
- git tag version
- build debs for amd64, i386
- make dist, upload to ceph.newdream.net:ceph.newdream.net/downloads
- email ml + post news entry

- rebase kclient_clean
1 change: 1 addition & 0 deletions debian/ceph.dirs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
usr/bin
var/log/ceph
var/log/ceph/stat
var/run/ceph
etc/ceph
usr/share/doc/ceph
2 changes: 1 addition & 1 deletion src/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ static struct config_option config_optionsp[] = {
OPTION(log_dir, 0, OPT_STR, "/var/log/ceph"), // if daemonize == true
OPTION(log_sym_dir, 0, OPT_STR, 0),
OPTION(log_to_stdout, 0, OPT_BOOL, true),
OPTION(pid_file, 0, OPT_STR, 0),
OPTION(pid_file, 0, OPT_STR, "/var/run/ceph/$type.$id.pid"),
OPTION(conf, 'c', OPT_STR, "/etc/ceph/ceph.conf"),
OPTION(chdir, 0, OPT_STR, "/"),
OPTION(fake_clock, 0, OPT_BOOL, false),
Expand Down
2 changes: 1 addition & 1 deletion src/init-ceph.in
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ for name in $what; do
first_dev=`echo $btrfs_devs | cut '-d ' -f 1`
fi

get_conf pid_file "" "pid file"
get_conf pid_file "/var/run/ceph/$type.$id.pid" "pid file"

case "$command" in
start)
Expand Down

0 comments on commit 3023509

Please sign in to comment.