Package com.sun.akuma
Class Daemon.WithoutChdir
java.lang.Object
com.sun.akuma.Daemon
com.sun.akuma.Daemon.WithoutChdir
- Enclosing class:
Daemon
Flavor of
Daemon
that doesn't change the current directory.
This turns out to be often more useful as JavaVM can take lot of arguments and system properties that use paths, and when we CD they won't work.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.akuma.Daemon
Daemon.WithoutChdir
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
change directory to '/' to avoid locking directories.Methods inherited from class com.sun.akuma.Daemon
all, closeDescriptors, daemonize, daemonize, getCurrentExecutable, init, init, isDaemonized, selfExec, writePidFile
-
Constructor Details
-
WithoutChdir
public WithoutChdir()
-
-
Method Details
-
chdirToRoot
protected void chdirToRoot()Description copied from class:Daemon
change directory to '/' to avoid locking directories.- Overrides:
chdirToRoot
in classDaemon
-