1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00
systemd/test/exec-runtimedirectory-mode.service
2015-09-21 18:14:44 +02:00

9 lines
258 B
Desktop File

[Unit]
Description=Test for RuntimeDirectoryMode
[Service]
ExecStart=/bin/sh -c 's=$(stat -c %a /tmp/test-exec_runtimedirectory-mode); echo $s; exit $(test $s = "750")'
Type=oneshot
RuntimeDirectory=test-exec_runtimedirectory-mode
RuntimeDirectoryMode=0750