fix user after install

This commit is contained in:
j 2017-03-16 14:11:15 +01:00
parent 376938d3f5
commit 12a5c73720
1 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,8 @@ if [ "$PANDORA" != "pandora" ]; then
sed -i \
-e "s/USER=pandora/USER=$PANDORA/g" \
-e "s/home\/pandora/home\/$PANDORA/g" \
/etc/init/pandora*.conf
/etc/systemd/system/pandora*.service
sed -i "s/pandora pandora/$PANDORA $PANDORA/g"
fi
if [ "$LXC" == "yes" ]; then