+2008-02-04 Daigo Moriwaki <daigo at debian dot org>
+
+ * [shogi-server]
+ - In the daemon mode, if the specified directory was a relative
+ path, the server could fail to start with a permission denied
+ error. This issue has been fixed. The path is interpreted as
+ an absolute path before switching to daemon.
+
+ * [webserver]
+ - In the daemon mode, if the specified directory was a relative
+ path, the server could fail to start with a permission denied
+ error. This issue has been fixed. The path is interpreted as
+ an absolute path before switching to daemon.
+
2008-02-03 Daigo Moriwaki <daigo at debian dot org>
* [shogi-server]
write_pid_file($options["pid-file"]) if ($options["pid-file"])
dir = $options["daemon"] || nil
+ dir = File.expand_path(dir) if dir
if dir && ! File.exist?(dir)
FileUtils.mkdir(dir)
end
end
dir = options["daemon"] || nil
+ dir = File.expand_path(dir) if dir
if dir && ! File.exist?(dir)
FileUtils.mkdir(dir)
end