[
https://issues.apache.org/jira/browse/DAEMON-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mladen Turk resolved DAEMON-253.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.0.11
Added intermediate directory path creation function.
> pidfile directory gets not created when starting jsvc with the -user option
> and -pidfile /var/run/pidfile_dir/pidfile
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: DAEMON-253
> URL: https://issues.apache.org/jira/browse/DAEMON-253
> Project: Commons Daemon
> Issue Type: Bug
> Affects Versions: 1.0.10
> Environment: Ubuntu 10.04.4 LTS
> java version "1.7.0_04"
> Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
> Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode)
> Reporter: Falk Pauser
> Fix For: 1.0.11
>
>
> When specifying a pidfile which resides in its own pidfile directory (e.g.
> /var/run/pidfile_dir/pidfile.pid) together with the -user option the pidfile
> directory will not be created thus an error is thrown because the pidfile
> cannot be written.
> Leaving the -user option and running jsvc as root works.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira