1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 11:55:23 +03:00
systemd-stable/test/test-execute/exec-dynamicuser-fixeduser.service

9 lines
195 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Test DynamicUser with User=
[Service]
ExecStart=/bin/sh -x -c 'test "$$(id -G)" = "1" && test "$$(id -g)" = "1" && test "$$(id -u)" = "1"'
Type=oneshot
User=1
DynamicUser=yes