2016-07-20 19:48:58 +01:00
|
|
|
|
#!/usr/bin/with-contenv bash
|
|
|
|
|
|
|
|
|
|
|
|
# cleanup pid if it exists
|
2016-09-23 05:01:34 +01:00
|
|
|
|
[[ -e /config/nzbdrone.pid ]] && \
|
|
|
|
|
|
rm -rf /config/nzbdrone.pid
|
2016-07-20 19:48:58 +01:00
|
|
|
|
|
|
|
|
|
|
# permissions
|
2016-09-23 05:01:34 +01:00
|
|
|
|
chown -R abc:abc \
|
|
|
|
|
|
/opt/NzbDrone
|