|This page is currently being updated. We apologize for the inconveniences. Stay tuned for updates.|
To run YouTrack as a service on Mac OS X system you will need to install and use launchd daemon/agent manager for Mac OS X and create a plist script for it.
|A method described here uses Tanuki Java Service Wrapper.|
To install and run YouTrack standalone JAR distribution as a service on a Mac OS X, we recommend to use the following procedure:
- Create a user to run YouTrack (e.g. youtrack):
- Download Tanuki Java Service Wrapper compatible with your system.
- Unpack downloaded archive to the home directory of the created user. We also recommend to rename the wrapper's directory (e.g. 'standalone'), for usability purposes:
The result wrapper's directory should have the following structure:
- Copy YouTrack standalone JAR file to the wrapper's directory:
- Create a soft link to the JAR file:
- Create a launchd system startup script as 'youtrack.plist' and put it in the <user_home>/Library/LaunchAgent folder. .
- Replace an existing wrapper's configuration file ~youtrack/standalone/conf/wrapper.conf with the following configuration file: wrapper.conf.
- Run your newly created wrapper to test the installation.
- YouTrack has started successfully
- 'youtrack.pid' pid file has appeared in the ~youtrack/standalone/ folder
- 'wrapper.log' log file has appeared in the ~youtrack/standalone/logs/ folder
- Add the new startup script to the system startup scripts sequence.
By default, the new YouTrack instance is configured to use TCP port 8080. You can change this setting in the wrappers.conf file, or you can edit the configuration of the Nginx frontend.