summaryrefslogtreecommitdiff
path: root/dist/install_nightly.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dist/install_nightly.sh')
-rw-r--r--dist/install_nightly.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/install_nightly.sh b/dist/install_nightly.sh
index 2189bf2a..b48c833c 100644
--- a/dist/install_nightly.sh
+++ b/dist/install_nightly.sh
@@ -20,9 +20,14 @@ cp /tmp/plugin_loader/PluginLoader ${HOMEBREW_FOLDER}/services/PluginLoader
rm -rf /tmp/plugin_loader
chmod +x ${HOMEBREW_FOLDER}/services/PluginLoader
+systemctl --user stop plugin_loader 2> /dev/null
+systemctl --user disable plugin_loader 2> /dev/null
+rm -f /home/deck/.config/systemd/user/plugin_loader.service
+
systemctl stop plugin_loader 2> /dev/null
systemctl disable plugin_loader 2> /dev/null
rm -f /etc/systemd/system/plugin_loader.service
+
cat > /etc/systemd/system/plugin_loader.service <<- EOM
[Unit]
Description=SteamDeck Plugin Loader