mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 05:36:44 +00:00
Add mono-less service file and quick navigation
parent
f07869eafc
commit
125b40dd17
1 changed files with 30 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
- [Using mono](#using-mono)
|
||||
- [Not using mono](#not-using-mono)
|
||||
|
||||
## Using mono
|
||||
|
||||
To automatically start Jackett as a systemd service you have to create create the following service file (e.g. /etc/systemd/system/jackett.service):
|
||||
|
||||
```ini
|
||||
|
@ -67,4 +72,28 @@ Like the very first script you have to edit:
|
|||
`User`
|
||||
`Group`
|
||||
PATH of `ExecStart` and `WorkingDirectory`
|
||||
Then if you want to use more or less memory you have to edit the `MemoryMax` value
|
||||
Then if you want to use more or less memory you have to edit the `MemoryMax` value
|
||||
|
||||
## Not using mono
|
||||
|
||||
If you're not using mono you may use this service file.
|
||||
|
||||
> This service file is following up [issue #11566](https://github.com/Jackett/Jackett/issues/11566) in which Jackett was not able to update properly. It is unclear if the changes made to this mono-less service file actually fixed the issue or not, but it remains a good starting point if you're setting up Jackett with systemd.
|
||||
|
||||
```
|
||||
[Unit]
|
||||
Description=Jackett Daemon
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
SyslogIdentifier=jackett
|
||||
Restart=on-failure
|
||||
Type=simple
|
||||
User=jackett
|
||||
Group=jackett
|
||||
WorkingDirectory=/opt/Jackett
|
||||
ExecStart=/bin/sh "/opt/Jackett/jackett_launcher.sh"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue