From 12a5c737205c5a14f542c89b1077fcb23961aae3 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 16 Mar 2017 14:11:15 +0100 Subject: [PATCH] fix user after install --- vm/pandora_install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vm/pandora_install.sh b/vm/pandora_install.sh index 62bb7863..f06ea2aa 100755 --- a/vm/pandora_install.sh +++ b/vm/pandora_install.sh @@ -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