Setup SickChill on Fedora 33
The following instructions are for installing SickChill on Fedora 33. This instruction should work on previous versions of Fedora.
Create directory for your SickChill installation:
sudo mkdir -p /opt/sickchill
Create systemd unit file for SickChill service. You need to adjust your folders for where the downloaded tvshow is placed and where your tvshow library is placed.
cat <<EOF | sudo tee /etc/systemd/system/sickchill.service
[Unit]
Description=Sickchill Podman container
Wants=network.target
[Service]
Type=simple
User=root
Group=root
TimeoutStartSec=5m
ExecStartPre=-/usr/bin/podman rm "sickchill"
ExecStart=/usr/bin/podman run --name sickchill \
-v /opt/sickchill:/config:z \
-v /your/downloaded/files:/downloads:Z \
-v /your/tvshow/library:/tv:Z -e \
TZ=Europe/Oslo \
-p 8081:8081 \
--pull=always \
ghcr.io/linuxserver/sickchill
ExecReload=-/usr/bin/podman stop "sickchill"
ExecReload=-/usr/bin/podman rm "sickchill"
ExecStop=/usr/bin/podman stop "sickchill"
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target
EOF
Now you can start sickchill, check it's status and enable it to start on every boot.
systemctl enable --now sickchill
Create a firewall service definition file
cat <<EOF | sudo tee /usr/lib/firewalld/services/sickchill.xml
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>SickChill</short>
<description> Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic. </description>
<port protocol="tcp" port="8081"/>
</service>
EOF
Add firewall service permanent and reload firewall
# firewall-cmd --permanent --add-service=sickchill
# firewall-cmd --reload
# firewall-cmd --list-service
Now you can go to http://<hostname/ip>:8081