Changeset 3809 in MondoRescue


Ignore:
Timestamp:
Feb 16, 2024, 1:52:56 AM (4 months ago)
Author:
Bruno Cornec
Message:

Remove nohup usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/ansible/roles/trac/templates/trac-svn-hook

    r3808 r3809  
    218218env="/prj/trac/$BASEREPO.env"
    219219if [ -r "$env/VERSION" ]; then
    220     log=$env/log/svn-hooks-$BASEREPO.log
    221220    REPO=`grep -E '^name[ \t]*=' $env/conf/trac.ini | cut -d= -f2`
    222     nohup sh <<EOF >> $log 2>&1 &
    223     echo "Changeset $REV $EVENT"
    224     trac-admin $env changeset $EVENT $REPO $REV && \
    225         echo "OK" || echo "FAILED: see the Trac log"
    226 EOF
     221    mutt bruno@musique-ancienne.org -s "Changeset $REV $EVENT to $REPO trac repo" < /dev/null
     222    trac-admin $env changeset $EVENT $REPO $REV && echo "OK" || echo "FAILED: see the Trac log"
    227223else
    228224    echo "$env doesn't seem to be a Trac environment, skipping..."
Note: See TracChangeset for help on using the changeset viewer.