[
https://issues.apache.org/jira/browse/JENA-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13909459#comment-13909459
]
ASF subversion and git services commented on JENA-635:
------------------------------------------------------
Commit 1570871 from [~andy.seaborne] in branch
'jena/branches/jena-fuseki-new-ui'
[ https://svn.apache.org/r1570871 ]
Improved fuseki service script (JENA-635)
> Add LSB init daemon support to fuseki startup script
> ----------------------------------------------------
>
> Key: JENA-635
> URL: https://issues.apache.org/jira/browse/JENA-635
> Project: Apache Jena
> Issue Type: Improvement
> Components: Fuseki
> Reporter: Ian Dickinson
> Assignee: Andy Seaborne
> Priority: Minor
> Attachments: fuseki-init.d.patch
>
>
> I have made some improvements to the Fuseki startup script, so that it works
> more easily as an init.d service script. Specifically, I have:
> * allowed default values for variables to be loaded from /etc/default, so
> that changing local setup does not require editing the script
> * switched to using lsb_daemon_log rather than echo for output
> * added fallbacks so that echo will be used if the lsb init functions are not
> available
> * switched to using 'ps -p' rather than 'kill -0' to find out if a process is
> running
> * made the location of the PID file more flexible.
> This is a call for review of these changes, and in particular test reports
> from other environments. I have tested on Ubuntu 12.04LTS, 13.10 and 14.04. I
> have not tested on MaxOS, cygwin or other Linux distros, and would welcome
> test reports and implementation improvements.
> The full revised script is in a gist:
> https://gist.github.com/ephemerian/8802368
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)