mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
14 lines
445 B
Desktop File
14 lines
445 B
Desktop File
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Unit]
|
|
Description=Test for PrivateTmp=disconnected with DefaultDependencies=no
|
|
DefaultDependencies=no
|
|
|
|
[Service]
|
|
ExecStart=sh -x -c 'test ! -f /tmp/test-exec_privatetmp'
|
|
ExecStart=touch /tmp/test-exec_privatetmp_disconnected
|
|
ExecStart=sh -x -c '(! touch /var/tmp/test-exec_privatetmp_disconnected)'
|
|
ExecStart=sh -x -c 'test $$TMPDIR = /tmp'
|
|
Type=oneshot
|
|
ProtectSystem=strict
|
|
PrivateTmp=disconnected
|