aboutsummaryrefslogtreecommitdiff
path: root/contrib/systemd
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2021-04-17 17:08:51 +0200
committerKenny Levinsen <kl@kl.wtf>2021-04-17 17:09:45 +0200
commit5535c2c3b19b42ebfe4c451600059e9418e401a6 (patch)
tree42deb8f47377965ce2b5187b15b7f0d873f57a03 /contrib/systemd
parent81ff0a09a93303233057f217aaa3f679db3bbe5c (diff)
contrib/systemd: Use a different group
"video" was used for convenience in the example, but a dedicated group is preferable so that a user does not gain the ability to bypass the seat manager and open devices directly.
Diffstat (limited to 'contrib/systemd')
-rw-r--r--contrib/systemd/seatd.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/systemd/seatd.service b/contrib/systemd/seatd.service
index a450058..bbbaf23 100644
--- a/contrib/systemd/seatd.service
+++ b/contrib/systemd/seatd.service
@@ -4,7 +4,8 @@ Documentation=man:seatd(1)
[Service]
Type=simple
-ExecStart=seatd -g video
+# Specify the group you'd like to grant access to seatd
+ExecStart=seatd -g seat
Restart=always
RestartSec=1