1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-03 05:35:29 +00:00

Reduced the complexity of the startup command to test that everything is installed and working.

cmoates 2017-04-26 22:06:07 -04:00
parent 3458ed753e
commit 11acff272b

@ -80,22 +80,13 @@ The installation assumes that you're not using the root user to install/run Sona
7. **Run Sonarr to test** 7. **Run Sonarr to test**
Just run it to verify everything is working the stop it (CTRL-C) and move to the next steps. Just run it to verify everything is working, then stop it (CTRL-C) and move to the next steps.
The freakishly long command below will: The somewhat long command below will temporarily set the LD_LIBRARY_PATH and PATH to point to the new sqlite and mono directories and run Sonarr using those variables.
<br>
1. Set the LD_LIBRARY_PATH and PATH to point to the new sqlite and mono directories
<br>
2. Run Sonarr
<br>
3. Set the environment back to normal.
```bash ```bash
export LPATH_BAK=$LD_LIBRARY_PATH ; export PATH_BAK=$PATH && \ LD_LIBRARY_PATH=/opt/mono/lib:/opt/sqlite3.8.5/lib PATH=/opt/mono/bin:/opt/sqlite3.8.5/bin:$PATH \
export LD_LIBRARY_PATH=/opt/mono/lib:/opt/sqlite3.8.5/lib && \ /opt/mono/bin/mono /opt/nzbdrone/NzbDrone.exe
export PATH=/opt/mono/bin:/opt/sqlite3.8.5/bin:$PATH && \
/opt/mono/bin/mono /opt/nzbdrone/NzbDrone.exe ; \
export PATH=$PATH_BAK ; export LD_LIBRARY_PATH=$LPATH_BAK
``` ```
### Create Sonarr init Service ### Create Sonarr init Service