From f8fb73f2789f4fb570f75e208ca45c33852c6010 Mon Sep 17 00:00:00 2001 From: Jan-Niklas Burfeind Date: Thu, 5 Sep 2024 17:25:41 +0200 Subject: [PATCH] ci: Verify the installed service runs as daemon user and not e.g. root. --- .github/workflows/ci_ubuntu_verify_installation.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci_ubuntu_verify_installation.yml b/.github/workflows/ci_ubuntu_verify_installation.yml index 56cddb1..8a0afb9 100644 --- a/.github/workflows/ci_ubuntu_verify_installation.yml +++ b/.github/workflows/ci_ubuntu_verify_installation.yml @@ -56,3 +56,5 @@ jobs: run: systemctl status codemeter - name: Codemeter version output is expected run: cmu --version | grep -q '${{ matrix.version }}' + - name: Verify codemeter service is running as daemon user + run: systemctl show -pUser codemeter.service | grep -qx User=daemon