forked from ports/contrib
mailman: fixed rundir creation in service file
This commit is contained in:
parent
336ee08cbf
commit
85486a02f9
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user