From c9d954b27ee125c3c90a6d2951c62eec4abb160b Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sun, 8 Sep 2013 07:51:39 -0400 Subject: run: allow non-absolute paths as command --- man/systemd-run.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'man/systemd-run.xml') diff --git a/man/systemd-run.xml b/man/systemd-run.xml index 6b0189c25d..e76a402003 100644 --- a/man/systemd-run.xml +++ b/man/systemd-run.xml @@ -187,6 +187,23 @@ along with systemd; If not, see . code otherwise. + + Example + + The following command will log the environment variables + provided by systemd to services: + + # systemd-run env +Running as unit run-19945.service. +# journalctl -u run-19945.service +Sep 08 07:37:21 bupkis systemd[1]: Starting /usr/bin/env... +Sep 08 07:37:21 bupkis systemd[1]: Started /usr/bin/env. +Sep 08 07:37:21 bupkis env[19948]: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin +Sep 08 07:37:21 bupkis env[19948]: LANG=en_US.UTF-8 +Sep 08 07:37:21 bupkis env[19948]: BOOT_IMAGE=/vmlinuz-3.11.0-0.rc5.git6.2.fc20.x86_64 + + + See Also -- cgit v1.2.3-54-g00ecf