Skip to content

Commit

Permalink
Merge pull request #12884 from Mab879/fix_12876
Browse files Browse the repository at this point in the history
Update `logind_session_timeout/not_configured.fail` to handle if the systemd config is not there
  • Loading branch information
jan-cerny authored Jan 23, 2025
2 parents cccf253 + d8e527a commit 8a479dc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# variables = var_logind_session_timeout = 5_minutes

mkdir -p /etc/systemd
touch /etc/systemd/logind.conf

sed -i '/^.*StopIdleSessionSec.*$/d' /etc/systemd/logind.conf

0 comments on commit 8a479dc

Please sign in to comment.