Files
docker-deployment/build/runit/sabnzbd

4 lines
132 B
Bash
Executable File

#!/bin/bash
set -e
ADDR=`ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{print $1}'`
sabnzbdplus -f $SABNZBD_CONFIG -s $ADDR