mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
66d73cc728
We currently look for "nobody" and "nfsnobody" when testing groups, both of which do not exist on Ubuntu, our main testing environment. Let's extend the tests slightly to also use "nogroup" if it exists.
8 lines
130 B
Desktop File
8 lines
130 B
Desktop File
[Unit]
|
|
Description=Test for Group
|
|
|
|
[Service]
|
|
ExecStart=/bin/sh -x -c 'test "$$(id -n -g)" = "nogroup"'
|
|
Type=oneshot
|
|
Group=nogroup
|