mirror of
https://github.com/linuxserver/docker-sonarr.git
synced 2026-04-20 00:01:33 +08:00
11 lines
177 B
Plaintext
11 lines
177 B
Plaintext
#!/usr/bin/with-contenv bash
|
||
|
||
# cleanup pid if it exists
|
||
[[ -e /config/sonarr.pid ]] && \
|
||
rm -rf /config/sonarr.pid
|
||
|
||
# permissions
|
||
chown -R abc:abc \
|
||
/app/sonarr \
|
||
/config
|