From 7517f51ef9921d3360453c8eec2c97256d320ceb Mon Sep 17 00:00:00 2001 From: Hendrik Brueckner Date: Thu, 24 Sep 2015 12:47:22 +0200 Subject: s390: add personality support Introduce personality support for Linux on z Systems to run particular services with a 64-bit or 31-bit personality. --- test/exec-personality-s390.service | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/exec-personality-s390.service (limited to 'test') diff --git a/test/exec-personality-s390.service b/test/exec-personality-s390.service new file mode 100644 index 0000000000..f3c3b03e3d --- /dev/null +++ b/test/exec-personality-s390.service @@ -0,0 +1,7 @@ +[Unit] +Description=Test for Personality=s390 + +[Service] +ExecStart=/bin/sh -c 'echo $(uname -m); exit $(test $(uname -m) = "s390")' +Type=oneshot +Personality=s390 -- cgit v1.2.3-54-g00ecf