mirror of
https://github.com/Jeffrey-Sardina/liberated-systemd.git
synced 2026-10-22 02:52:47 -05:00
Recently, postmarketOS is renamed to Nura: See https://postmarketos.org/blog/2026/09/27/nura-rename/ mkosi already renamed postmarketOS to Nura: https://github.com/systemd/mkosi/commit/580c4d94d75ef18f2a0983626cfd80bea9c44ece Co-authored-by: Yu Watanabe <watanabe.yu+github@gmail.com>
15 lines
618 B
Desktop File
15 lines
618 B
Desktop File
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Unit]
|
|
Description=Test DynamicUser with static User= whose uid and gid are different
|
|
# On Ubuntu or Debian, user games has uid==5 and gid==60.
|
|
# On Alpine/Nura, the user 'games' in the 'games' and 'users' groups.
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=bash -x -c '[[ "$$(id -nG)" =~ "games" ]] && test "$$(id -ng)" = "games" && test "$$(id -nu)" = "games"'
|
|
# Multiple ExecStart= lines causes the issue #9702.
|
|
ExecStart=bash -x -c '[[ "$$(id -nG)" =~ "games" ]] && test "$$(id -ng)" = "games" && test "$$(id -nu)" = "games"'
|
|
DynamicUser=yes
|
|
User=games
|
|
ReadWritePaths=-/coverage
|