Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add env var to not replace systemd service file #462

Merged

Conversation

suchmememanyskill
Copy link
Contributor

Please tick as appropriate:

  • I have tested this code on a steam deck or on a PC
  • My changes generate no new errors/warnings
  • This is a bugfix/hotfix
  • This is a new feature

Description

This adds an environment variable that stops decky from updating it's systemd unit/config, so any configuration in it will not be lost. Default behaviour stays the same: the systemd unit/config gets updated every time decky updates

Tl;dr: Simply add Environment=KEEP_SYSTEMD_SERVICE=1 to decky's systemd unit/config to stop it from being overwritten

PS: This also fixes a bug where the LIVE_RELOAD environment variable was ineffective

@TrainDoctor TrainDoctor requested review from a team May 20, 2023 22:06
@TrainDoctor TrainDoctor added the enhancement New feature or request label May 20, 2023
Copy link
Member

@TrainDoctor TrainDoctor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, working. Merging.

@TrainDoctor TrainDoctor merged commit cad2bab into SteamDeckHomebrew:main May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants