Skip to content

Commit

Permalink
Fix #217 - Change systemd-service type to forking
Browse files Browse the repository at this point in the history
Besides user-feedback I've found many resources showing that it is one common way to use forking here.
I've also found the option "--nofork" for i3lock-color but I'm unsure of the side-effects.

https://gist.github.com/victorhaggqvist/603125bbc0f61a787d89
https://www.jvt.me/posts/2019/12/03/lock-before-suspend-systemd/
https://michaelabrahamsen.com/posts/systemd-suspend-i3lock/
  • Loading branch information
SebTM committed May 28, 2021
1 parent bbf8840 commit 05b1a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Before=suspend.target

[Service]
User=%I
Type=simple
Type=forking
Environment=DISPLAY=:0
ExecStart=/usr/local/bin/betterlockscreen --lock
TimeoutSec=infinity
Expand Down

0 comments on commit 05b1a23

Please sign in to comment.