summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2024-02-20 18:51:16 -0500
committerAAGaming <aagaming@riseup.net>2024-02-20 18:51:22 -0500
commit61cf80f8a2d472e9cbc7d401c7cd24075d5bcf28 (patch)
tree28d04bcbb977bc0838d95020209c69a9b691dcbd
parent39e752e4e214721798bd6a5cd127cde001553e86 (diff)
downloaddecky-loader-61cf80f8a2d472e9cbc7d401c7cd24075d5bcf28.tar.gz
decky-loader-61cf80f8a2d472e9cbc7d401c7cd24075d5bcf28.zip
update service to reduce startup time
-rw-r--r--dist/install_prerelease.sh6
-rw-r--r--dist/install_release.sh6
-rw-r--r--dist/plugin_loader-prerelease.service3
-rw-r--r--dist/plugin_loader-release.service3
4 files changed, 4 insertions, 14 deletions
diff --git a/dist/install_prerelease.sh b/dist/install_prerelease.sh
index d38f0d5b..950c25aa 100644
--- a/dist/install_prerelease.sh
+++ b/dist/install_prerelease.sh
@@ -34,16 +34,14 @@ 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-online.target
-Wants=network-online.target
[Service]
Type=simple
User=root
Restart=always
ExecStart=${HOMEBREW_FOLDER}/services/PluginLoader
WorkingDirectory=${HOMEBREW_FOLDER}/services
-KillSignal=SIGKILL
-Environment=PLUGIN_PATH=${HOMEBREW_FOLDER}/plugins
+Environment=UNPRIVILEGED_PATH=${HOMEBREW_FOLDER}
+Environment=PRIVILEGED_PATH=${HOMEBREW_FOLDER}
Environment=LOG_LEVEL=DEBUG
[Install]
WantedBy=multi-user.target
diff --git a/dist/install_release.sh b/dist/install_release.sh
index 57150f2f..46a47867 100644
--- a/dist/install_release.sh
+++ b/dist/install_release.sh
@@ -34,16 +34,14 @@ 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-online.target
-Wants=network-online.target
[Service]
Type=simple
User=root
Restart=always
ExecStart=${HOMEBREW_FOLDER}/services/PluginLoader
WorkingDirectory=${HOMEBREW_FOLDER}/services
-KillSignal=SIGKILL
-Environment=PLUGIN_PATH=${HOMEBREW_FOLDER}/plugins
+Environment=UNPRIVILEGED_PATH=${HOMEBREW_FOLDER}
+Environment=PRIVILEGED_PATH=${HOMEBREW_FOLDER}
Environment=LOG_LEVEL=INFO
[Install]
WantedBy=multi-user.target
diff --git a/dist/plugin_loader-prerelease.service b/dist/plugin_loader-prerelease.service
index 5c14714a..61c7c553 100644
--- a/dist/plugin_loader-prerelease.service
+++ b/dist/plugin_loader-prerelease.service
@@ -1,14 +1,11 @@
[Unit]
Description=SteamDeck Plugin Loader
-After=network-online.target
-Wants=network-online.target
[Service]
Type=simple
User=root
Restart=always
ExecStart=${HOMEBREW_FOLDER}/services/PluginLoader
WorkingDirectory=${HOMEBREW_FOLDER}/services
-KillSignal=SIGKILL
Environment=UNPRIVILEGED_PATH=${HOMEBREW_FOLDER}
Environment=PRIVILEGED_PATH=${HOMEBREW_FOLDER}
Environment=LOG_LEVEL=DEBUG
diff --git a/dist/plugin_loader-release.service b/dist/plugin_loader-release.service
index cf881423..9e10e5ff 100644
--- a/dist/plugin_loader-release.service
+++ b/dist/plugin_loader-release.service
@@ -1,14 +1,11 @@
[Unit]
Description=SteamDeck Plugin Loader
-After=network-online.target
-Wants=network-online.target
[Service]
Type=simple
User=root
Restart=always
ExecStart=${HOMEBREW_FOLDER}/services/PluginLoader
WorkingDirectory=${HOMEBREW_FOLDER}/services
-KillSignal=SIGKILL
Environment=UNPRIVILEGED_PATH=${HOMEBREW_FOLDER}
Environment=PRIVILEGED_PATH=${HOMEBREW_FOLDER}
Environment=LOG_LEVEL=INFO