Files
Iris/mopidy_iris/system.sh
2018-04-16 21:58:38 +12:00

12 lines
199 B
Bash
Executable File

#!/bin/bash
if [ $1 = "upgrade" ]; then
UPGRADE=$(pip install --upgrade mopidy-iris)
RESTART=$(service mopidy restart)
elif [ $1 = "restart" ]; then
RESTART=$(service mopidy restart)
fi
exit 0