Hello,
I've just tested the new package for gmid, the systemd service file should've
been updated.
I've attached the patch, just need to fill in the post-mksource hash.

-- 
Kind Regards,
Wael Karram.


From 40eea511bcda8304e10e3f296b8b34bafb693f0b Mon Sep 17 00:00:00 2001
From: wael <[email protected]>
Date: Tue, 3 Jan 2023 08:51:51 +0200
Subject: [PATCH] Fixed systemd service file.

---
 pcr/gmid/PKGBUILD     | 4 ++--
 pcr/gmid/gmid.service | 3 ---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/pcr/gmid/PKGBUILD b/pcr/gmid/PKGBUILD
index 106199b80b..1f02f5c1b5 100644
--- a/pcr/gmid/PKGBUILD
+++ b/pcr/gmid/PKGBUILD
@@ -30,10 +30,10 @@ source=(
 	"gmid.conf"
 	"index.gmi"
 )
-mksha256sums=('c5fd6e5bb411a7baafe0b12b2e2bff35ea47231eff803c00c94e78f2bec3f82c')
+mksha256sums=('5e027012f50f56709a7f08a530fd0ecc90402142acdcd7cba6e23bd7a37d0bc8')
 sha256sums=(
-	'5e027012f50f56709a7f08a530fd0ecc90402142acdcd7cba6e23bd7a37d0bc8'
 	'SKIP'
+	'cece26dc04ea5445bee60bfd3c1d6d3ea51268fe6516148d2cf86b393b6a5601'
 	'946de0766343225068a0e3f38cb39a4a93ef312525dd775226b938cd08706b94'
 	'4d943727a57dbf5f246963c0f90ccc54919cc2296538457e6b16f29f7580d9d6'
 	'eddbe93741d01077426bc0239db42815c75a0da5191b4e6528df60ae3e0e5bb3'
diff --git a/pcr/gmid/gmid.service b/pcr/gmid/gmid.service
index bba037bf51..3107d08b84 100644
--- a/pcr/gmid/gmid.service
+++ b/pcr/gmid/gmid.service
@@ -6,8 +6,6 @@ Wants=network-online.target
 
 [Service]
 Type=simple
-User=gmid
-Group=nobody
 ExecStart=/usr/bin/gmid -f -c /etc/gmid.conf
 ExecStop=/bin/kill -TERM $MAINPID
 ExecReload=/bin/kill -HUP $MAINPID
@@ -20,7 +18,6 @@ ProtectSystem=strict
 ProtectHome=true
 ProtectKernelTunables=true
 ProtectKernelModules=true
-ProtectKernelTunables=true
 ProtectControlGroups=true
 
 [Install]
-- 
2.39.0

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to