Have you tried to osgi framework properties? e.g. https://osgi.org/javadoc/r5/core/org/osgi/framework/Constants.html#FRAMEWORK_STORAGE
I think the eclipse launcher supports those as system properties. Sincerely, - Ray On Wed, Feb 3, 2016 at 1:13 PM, Cristiano Gavião <[email protected]> wrote: > Hello, > > I'm trying to set Equinox to run as a linux systemd service. > > I set the service to launch using java -jar org.eclipse.osgi > -configuration /etc/myapp. > > The idea was to install config.ini (set as conffile) at /etc/myapp and let > the configuration data to be created at /var/lib/myapp directory. > > I tried many configurations combination but it always try to create > storage directories relative to where config.ini file is, which gives some > errors due the fact that user which is starting it do not had permissions > to create directories inside /etc dir. > > one alternative that comes to mind was to create a symlimk in > etc/myapp/config.ini pointinf to var/lib/myapp/config.ini. > > anyway, I would be grateful for any opinion. > > thanks, > > Cristiano > _______________________________________________ > equinox-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/equinox-dev > -- *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000) Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> (@Liferay) Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)
_______________________________________________ equinox-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/equinox-dev
