mirror of https://github.com/Jackett/Jackett
Synology config #182
This commit is contained in:
parent
38a891ed1c
commit
f6240c3cf0
65
Build.bat
65
Build.bat
|
@ -1,32 +1,33 @@
|
||||||
|
|
||||||
rmdir /s /q build.windows
|
rmdir /s /q build.windows
|
||||||
rmdir /s /q build.mono
|
rmdir /s /q build.mono
|
||||||
rmdir /s /q Output
|
rmdir /s /q Output
|
||||||
cd src
|
cd src
|
||||||
Msbuild Jackett.sln /t:Clean,Build /p:Configuration=Release /verbosity:minimal
|
Msbuild Jackett.sln /t:Clean,Build /p:Configuration=Release /verbosity:minimal
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
xcopy src\Jackett.Console\bin\Release build.windows\ /e /y
|
xcopy src\Jackett.Console\bin\Release build.windows\ /e /y
|
||||||
copy /Y src\Jackett.Service\bin\Release\JackettService.exe build.windows\JackettService.exe
|
copy /Y src\Jackett.Service\bin\Release\JackettService.exe build.windows\JackettService.exe
|
||||||
copy /Y src\Jackett.Service\bin\Release\JackettService.exe.config build.windows\JackettService.exe.config
|
copy /Y src\Jackett.Service\bin\Release\JackettService.exe.config build.windows\JackettService.exe.config
|
||||||
copy /Y src\Jackett.Tray\bin\Release\JackettTray.exe build.windows\JackettTray.exe
|
copy /Y src\Jackett.Tray\bin\Release\JackettTray.exe build.windows\JackettTray.exe
|
||||||
copy /Y src\Jackett.Tray\bin\Release\JackettTray.exe.config build.windows\JackettTray.exe.config
|
copy /Y src\Jackett.Tray\bin\Release\JackettTray.exe.config build.windows\JackettTray.exe.config
|
||||||
copy /Y LICENSE build.windows\LICENSE
|
copy /Y LICENSE build.windows\LICENSE
|
||||||
copy /Y README.md build.windows\README.md
|
copy /Y README.md build.windows\README.md
|
||||||
|
|
||||||
|
|
||||||
cd src
|
cd src
|
||||||
Msbuild Jackett.sln /t:Clean
|
Msbuild Jackett.sln /t:Clean
|
||||||
call "C:\Program Files (x86)\Mono\bin\xbuild.bat" Jackett.sln /t:Build /p:Configuration=Release /verbosity:minimal
|
call "C:\Program Files (x86)\Mono\bin\xbuild.bat" Jackett.sln /t:Build /p:Configuration=Release /verbosity:minimal
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
xcopy src\Jackett.Console\bin\Release build.mono\ /e /y
|
xcopy src\Jackett.Console\bin\Release build.mono\ /e /y
|
||||||
copy /Y src\Jackett.Service\bin\Release\JackettService.exe build.mono\JackettService.exe
|
copy /Y src\Jackett.Service\bin\Release\JackettService.exe build.mono\JackettService.exe
|
||||||
copy /Y src\Jackett.Service\bin\Release\JackettService.exe.config build.mono\JackettService.exe.config
|
copy /Y src\Jackett.Service\bin\Release\JackettService.exe.config build.mono\JackettService.exe.config
|
||||||
copy /Y src\Jackett.Tray\bin\Release\JackettTray.exe build.mono\JackettTray.exe
|
copy /Y src\Jackett.Tray\bin\Release\JackettTray.exe build.mono\JackettTray.exe
|
||||||
copy /Y src\Jackett.Tray\bin\Release\JackettTray.exe.config build.mono\JackettTray.exe.config
|
copy /Y src\Jackett.Tray\bin\Release\JackettTray.exe.config build.mono\JackettTray.exe.config
|
||||||
copy /Y LICENSE build.mono\LICENSE
|
copy /Y LICENSE build.mono\LICENSE
|
||||||
copy /Y README.md build.mono\README.md
|
copy /Y README.md build.mono\README.md
|
||||||
|
copy /Y Upstart.config build.mono\Upstart.config
|
||||||
iscc Installer.iss
|
|
||||||
|
iscc Installer.iss
|
||||||
|
|
||||||
|
|
25
README.md
25
README.md
|
@ -55,6 +55,14 @@ We were previously focused on TV but are working on extending searches to allow
|
||||||
* [Torrentz](https://torrentz.eu/)
|
* [Torrentz](https://torrentz.eu/)
|
||||||
* [TV Chaos UK](https://tvchaosuk.com/)
|
* [TV Chaos UK](https://tvchaosuk.com/)
|
||||||
|
|
||||||
|
#### Installation on Windows
|
||||||
|
|
||||||
|
Grab the latest release from the [website](http://jackett.net/Download).
|
||||||
|
|
||||||
|
We recommend you install Jackett as a Windows service using the supplied installer. When installed as a service the tray icon acts as a way to open/start/stop Jackett. If you opted to not install it as a service then Jackett will run its web server from the tray tool.
|
||||||
|
|
||||||
|
Jackett can also be run from the command line using JackettConsole.exe if you would like to see log messages (Ensure the server isn't already running from the tray/service).
|
||||||
|
|
||||||
#### Installation on Linux/OSX
|
#### Installation on Linux/OSX
|
||||||
1. Install [Mono 4](http://www.mono-project.com/download/) or better
|
1. Install [Mono 4](http://www.mono-project.com/download/) or better
|
||||||
2. Install libcurl:
|
2. Install libcurl:
|
||||||
|
@ -63,15 +71,14 @@ We were previously focused on TV but are working on extending searches to allow
|
||||||
* For other distros see the [Curl docs](http://curl.haxx.se/dlwiz/?type=devel).
|
* For other distros see the [Curl docs](http://curl.haxx.se/dlwiz/?type=devel).
|
||||||
3. Download and extract the latest ```.tar.bz2``` release from the [website](http://jackett.net/Download) and run Jackett using mono with the command "mono JackettConsole.exe".
|
3. Download and extract the latest ```.tar.bz2``` release from the [website](http://jackett.net/Download) and run Jackett using mono with the command "mono JackettConsole.exe".
|
||||||
|
|
||||||
|
#### Installation on Synology
|
||||||
#### Installation on Windows
|
1. Install Sonarr & Mono 3.10 from synocommunity.
|
||||||
|
2. Install Mono beta 3.12 from the main Synology repo (Or newer if available).
|
||||||
Grab the latest release from the [web site](http://jackett.net/Download).
|
3. Download jackett and place it in /opt/Jackett
|
||||||
|
4. cd /opt
|
||||||
We recommend you install Jackett as a Windows service using the supplied installer. When installed as a service the tray icon acts as a way to open/start/stop Jackett. If you opted to not install it as a service then Jackett will run its web server from the tray tool.
|
5. chown -R {user who will run jackett} Jackett
|
||||||
|
6. Copy Upstart.config to /etc/init/jackett.conf and replace the braces {} in the script with the username that you wish to run Jackett with.
|
||||||
Jackett can also be run from the command line using JackettConsole.exe if you would like to see log messages (Ensure the server isn't already running from the tray/service).
|
9. From anywhere on command line type "start jackett" . You should see output telling you that Jackett is running and you should be able to browse to {IP Address}:9117 . If not you should check /var/log/upstart/jackett.log and see what that says.
|
||||||
|
|
||||||
|
|
||||||
#### Troubleshooting
|
#### Troubleshooting
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
author "sea3pea0"
|
||||||
|
description "Upstart Script to run NzbDrone as a service on Ubuntu/Debian based systems, as well as others"
|
||||||
|
|
||||||
|
#Set username for the process. Should probably be what you use for logging in
|
||||||
|
setuid {username to run jackett}
|
||||||
|
setgid users
|
||||||
|
|
||||||
|
#This is the install directory. If you installed using a deb package or the NzbDrone Repository you do not need to change this
|
||||||
|
|
||||||
|
env DIR=/opt/Jackett
|
||||||
|
env LD_LIBRARY_PATH=/usr/local/nzbdrone/lib
|
||||||
|
|
||||||
|
start on runlevel [2345]
|
||||||
|
stop on runlevel [016]
|
||||||
|
|
||||||
|
respawn
|
||||||
|
script
|
||||||
|
chdir $DIR
|
||||||
|
exec /volume1/@appstore/Mono/usr/bin/mono --debug JackettConsole.exe
|
||||||
|
end script
|
Loading…
Reference in New Issue