diff --git a/mailman/.signature b/mailman/.signature index d3fab04bb..c5ff0deb6 100644 --- a/mailman/.signature +++ b/mailman/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF31COsSy46RM7ZqIFNtcyBH+rCsY9Ktto79a8ctVPd0NINl1kPuWH5kUIBR5+0ItFtLmE/IHku4LB8ZG29DaMQAo= -SHA256 (Pkgfile) = f478ba6ff2c203057ba30455f96e8c07de67acc937492f9d1c9cd30c377107a8 +RWSagIOpLGJF31iMmpD46rjb+penyEYcbGOmcecocOPOIoBvojdNEhrVH3SHJnmUC8z55OkuYUpj+bwoNGh5jCi94ZSDhLaR3gw= +SHA256 (Pkgfile) = 90daa235f2ae292ba36f747da49c826276ed650b35dbdecf7a3004a94ea39d18 SHA256 (.footprint) = 7d06b6e77362ad53658618f474e988450ab50ecdd41d07d2925f34ab4a393d31 SHA256 (mailman-v3.3.9.tar.bz2) = f96de9f54c8d513b4c1dd0bae69a9b511d7f515a04c267b7231ba4bedaaafa48 -SHA256 (mailman.service) = 511c9d690d5c910d3f1f19e10e9054bb96bf62c64d6abe761ed0f843aca27abf +SHA256 (mailman.service) = 96ba86fca7256d06bb4306bc2c35bbac81a9bbaf5f230b48183ce9dd666fd395 diff --git a/mailman/Pkgfile b/mailman/Pkgfile index c9bb71338..bad3df2aa 100644 --- a/mailman/Pkgfile +++ b/mailman/Pkgfile @@ -5,7 +5,7 @@ name=mailman version=3.3.9 -release=1 +release=2 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 d95e470e2..3565260b0 100755 --- a/mailman/mailman.service +++ b/mailman/mailman.service @@ -10,24 +10,23 @@ USER=mailman case $1 in start) - if [ ! -e /run/mailman ]; then + if [ ! -e /run/mailman ]; then mkdir -p /run/mailman fi $SSD --start -c $USER --pidfile $PID --exec $PROG -- start ;; stop) - $SSD --start -c $USER --pidfile $PID --exec $PROG -- stop - $SSD --stop -c $USER --retry 10 --pidfile $PID + $SSD --stop -c $USER --retry 10 --exec "/usr/bin/python3" --pidfile $PID ;; restart) $0 stop $0 start ;; reload) - $SSD --start -c $USER --pidfile $PID --exec $PROG -- restart + $SSD --start -c $USER --pidfile $PID --exec "/usr/bin/python3" --exec $PROG -- restart ;; status) - $SSD --status -u $USER -c $USER --pidfile $PID + $SSD --status -u $USER -c $USER --exec "/usr/bin/python3" --pidfile $PID case $? in 0) echo "$PROG is running with pid $(cat $PID)" ;; 1) echo "$PROG is not running but the pid file $PID exists" ;;