This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, 6.0 has been updated
via ce9209ece0084e55cc519df2bd81802559532020 (commit)
from e5ff68070aac47648b947483102478def0b902bf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ce9209ece0084e55cc519df2bd81802559532020
Author: Roland Mas <[email protected]>
Date: Tue Apr 7 17:14:06 2015 +0200
Adapt crontab to location of pidof binary (which varies across
distributions)
diff --git a/src/plugins/scmsvn/etc/cron.d/fusionforge-plugin-scmsvn
b/src/plugins/scmsvn/etc/cron.d/fusionforge-plugin-scmsvn
index 55344cf..cde2bef 100644
--- a/src/plugins/scmsvn/etc/cron.d/fusionforge-plugin-scmsvn
+++ b/src/plugins/scmsvn/etc/cron.d/fusionforge-plugin-scmsvn
@@ -2,4 +2,4 @@
00 6 * * * root find /tmp -maxdepth 1 -name "*" -type f -mtime +3 -exec rm
-rf {} \;
# Kill old SVN processes
-0 * * * * root for pid in $(pidof svnserve); do etimes=$(ps -oetimes
-p$pid | tail -n+2); if [ ${etimes:-0} -gt 86400 ]; then kill -9 $pid; fi; done
+0 * * * * root for pid in
$(PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin pidof
svnserve); do etimes=$(ps -oetimes -p$pid | tail -n+2); if [ ${etimes:-0} -gt
86400 ]; then kill -9 $pid; fi; done
-----------------------------------------------------------------------
Summary of changes:
src/plugins/scmsvn/etc/cron.d/fusionforge-plugin-scmsvn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits