summaryrefslogtreecommitdiff
path: root/dist/install_release.sh
diff options
context:
space:
mode:
authorSims <38142618+suchmememanyskill@users.noreply.github.com>2024-09-01 20:15:49 +0200
committerGitHub <noreply@github.com>2024-09-01 14:15:49 -0400
commit016ed6e998de25c3a2d5caf119b4489c281b3ba5 (patch)
treef15b434944036859019beb242250d6b02dcad378 /dist/install_release.sh
parent4842a599e03b5981baea32768f3bfe64612fd932 (diff)
downloaddecky-loader-016ed6e998de25c3a2d5caf119b4489c281b3ba5.tar.gz
decky-loader-016ed6e998de25c3a2d5caf119b4489c281b3ba5.zip
Fix shutdown timeouts (#695)
Co-authored-by: AAGaming <aagaming@riseup.net>
Diffstat (limited to 'dist/install_release.sh')
-rw-r--r--dist/install_release.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/install_release.sh b/dist/install_release.sh
index 46a47867..61f85488 100644
--- a/dist/install_release.sh
+++ b/dist/install_release.sh
@@ -34,10 +34,13 @@ curl -L https://raw.githubusercontent.com/SteamDeckHomebrew/decky-loader/main/di
cat > "${HOMEBREW_FOLDER}/services/plugin_loader-backup.service" <<- EOM
[Unit]
Description=SteamDeck Plugin Loader
+After=network.target
[Service]
Type=simple
User=root
Restart=always
+KillMode=process
+TimeoutStopSec=45
ExecStart=${HOMEBREW_FOLDER}/services/PluginLoader
WorkingDirectory=${HOMEBREW_FOLDER}/services
Environment=UNPRIVILEGED_PATH=${HOMEBREW_FOLDER}