Files
Iris/mopidy_iris/system.sh
2018-04-17 15:58:39 +12:00

15 lines
219 B
Bash
Executable File

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