From 85486a02f977b808d9e645a21ddfa25f2c593b76 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Mon, 2 Sep 2024 22:18:20 +0200 Subject: [PATCH] mailman: fixed rundir creation in service file --- mailman/.signature | 6 +++--- mailman/Pkgfile | 2 +- mailman/mailman.service | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/mailman/.signature b/mailman/.signature index c5ff0deb6..a7ad8a877 100644 --- a/mailman/.signature +++ b/mailman/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF31iMmpD46rjb+penyEYcbGOmcecocOPOIoBvojdNEhrVH3SHJnmUC8z55OkuYUpj+bwoNGh5jCi94ZSDhLaR3gw= -SHA256 (Pkgfile) = 90daa235f2ae292ba36f747da49c826276ed650b35dbdecf7a3004a94ea39d18 +RWSagIOpLGJF3ymKBvWhpT/aAT1jm2UxIx6Keaa6L1YuhrnHEJCFXqf0HJnxfgaUnzn7kEhcALNwRdiwpvDh/SQFnZxsvlFOswU= +SHA256 (Pkgfile) = 1dde72911aeff358859352eb7d76a9fec881ed0bbaef5200ae2175fdb424cff3 SHA256 (.footprint) = 7d06b6e77362ad53658618f474e988450ab50ecdd41d07d2925f34ab4a393d31 SHA256 (mailman-v3.3.9.tar.bz2) = f96de9f54c8d513b4c1dd0bae69a9b511d7f515a04c267b7231ba4bedaaafa48 -SHA256 (mailman.service) = 96ba86fca7256d06bb4306bc2c35bbac81a9bbaf5f230b48183ce9dd666fd395 +SHA256 (mailman.service) = 659becdf4fd28b2d4ca755b49e37de56463e1dd65e3992225e4e0888c8f9c6da diff --git a/mailman/Pkgfile b/mailman/Pkgfile index bad3df2aa..c73d04069 100644 --- a/mailman/Pkgfile +++ b/mailman/Pkgfile @@ -5,7 +5,7 @@ name=mailman version=3.3.9 -release=2 +release=3 source=(https://gitlab.com/mailman/mailman/-/archive/v$version/mailman-v$version.tar.bz2 $name.service) diff --git a/mailman/mailman.service b/mailman/mailman.service index 3565260b0..6231f94d2 100755 --- a/mailman/mailman.service +++ b/mailman/mailman.service @@ -7,11 +7,12 @@ SSD=/sbin/start-stop-daemon PROG=/usr/bin/mailman PID=/run/mailman/master.pid USER=mailman +GROUP=mail case $1 in start) if [ ! -e /run/mailman ]; then - mkdir -p /run/mailman + install -d -o $USER -g $GROUP -m 755 /run/mailman fi $SSD --start -c $USER --pidfile $PID --exec $PROG -- start ;;