Difference between revisions of "Template:Appdata Directory"

From Servarr
 
Line 33: Line 33:
 
<code>/var/lib/{{{ARRNAME}}}</code>
 
<code>/var/lib/{{{ARRNAME}}}</code>
  
<h6>Swizzin Users</h6>
 
Go here: https://github.com/ComputerByte/radarr4k
 
 
<h6>Other *UNIX users</h6>
 
 
Here's an example of a systemd for a 4K Instance of {{{ARRNAME}}}. To do this, you'd need to <code>mkdir ~/.config/radarr4k && chown youruser:youruser ~/.config/radarr4k</code>. Additionally, you'll need to stop any other versions of {{{ARRNAME}}} that may be running, as it can cause port issues. After starting the 4K instance, wait for about 20 seconds, then stop the service. Modify the port numbers and / or baseurl in the configuration.
 
 
[Unit]
 
Description={{{ARRNAME2}}} 4K
 
After=syslog.target network.target
 
[Service]
 
# Change the user and group variables here.
 
User=${user}
 
Group=${user}
 
Type=simple
 
# Change the path to {{{ARRNAME}}} or mono here if it is in a different location for you.
 
ExecStart=/opt/{{{ARRNAME}}}/{{{ARRNAME}}} -nobrowser --data=/home/${user}/.config/{{{ARRNAME2}}}4k
 
TimeoutStopSec=20
 
KillMode=process
 
Restart=on-failure
 
# These lines optionally isolate (sandbox) Radarr from the rest of the system.
 
# Make sure to add any paths it might use to the list below (space-separated).
 
#ReadWritePaths=/opt/{{{ARRNAME2}}} /path/to/movies/folder
 
#ProtectSystem=strict
 
#PrivateDevices=true
 
#ProtectHome=true
 
[Install]
 
WantedBy=multi-user.target
 
  
 
=== OS X ===
 
=== OS X ===

Latest revision as of 22:22, 26 April 2021

This template is designed to house all the locations for the ARR's application data directory

Template parameters

ParameterDescriptionTypeStatus
ARRNAMEARRNAME

ARR Name

Default
Radarr
Example
Sonarr, Radarr, Lidarr, Readarr
Stringoptional
ARRNAME2ARRNAME2

This variable is used to insert lowercase ARR names

Example
radarr, sonarr, lidarr, or readarr
Unknownrequired


{{{ARRNAME}}}’s AppData folder contains the databases for logs and general app information, log files and the config file that contains settings required to start the web server. This path is listed on the System Status page in {{{ARRNAME}}}, but if you are unable to access it, here are some common locations for it:

Windows

C:\ProgramData\{{{ARRNAME}}}

Linux

Unless otherwise specified {{{ARRNAME}}} will store it's application data in the home folder of the user {{{ARRNAME}}} is running under /home/$USER/.config/{{{ARRNAME}}} (~/.config/{{{ARRNAME}}})

/var/lib/{{{ARRNAME}}}


OS X

/Users/$USER/.config/{{{ARRNAME}}} (~/.config/{{{ARRNAME}}})

Synology

/usr/local/{{{ARRNAME}}}/var/.config/{{{ARRNAME}}}

/volume1/@appstore/{{{ARRNAME}}}/var/.config/{{{ARRNAME}}}

QNAP

/share/MD0_DATA/homes/admin/.config/{{{ARRNAME}}}

/share/CACHEDEV1_DATA/{{{ARRNAME}}}_CONFIG

Argument