1. 16 Jan, 2012 2 commits
    • Antoine Catton's avatar
      Catch SIGTERM and raise SystemExit in submanager · 203f2fd2
      Antoine Catton authored
      This allow submanager to do some cleanup when it receive sigterm
      (in this case removing pid file and killing subprocess).
      203f2fd2
    • Antoine Catton's avatar
      Add submanager script. · e8a1f37d
      Antoine Catton authored
      This script allow to run a command and restart it
      it if some files changes.
      
      The submanager catch SIGUSR1 and checks if the specified
      files has changed.
      
      It can use a pid file where its own pid is written.
      
      This is usefull for restarting a service from a recipe.
      
      Example :
        submanager -c config.cfg -- command --with-options -y
          Run “command --with-options -y” and restart it if
          config.cfg is modified after receiving SIGUSR
      e8a1f37d
  2. 05 Jan, 2012 2 commits
  3. 30 Dec, 2011 1 commit
  4. 20 Dec, 2011 1 commit
  5. 08 Dec, 2011 3 commits
  6. 23 Nov, 2011 1 commit
  7. 22 Nov, 2011 3 commits
  8. 21 Nov, 2011 1 commit
  9. 18 Nov, 2011 2 commits
    • Antoine Catton's avatar
      Fill changelog · a0663640
      Antoine Catton authored
      a0663640
    • Antoine Catton's avatar
      Add equeue server. · 4cb4b532
      Antoine Catton authored
      The server listen on an unix socket and wait for a json request which
      look like :
        {"command": "/command/to/run",
         "timestamp": 0}
      
      The server respond sending back the command it will run.
      
      The server is single threaded on run each command only one by one.
      
      If one command requested two times with the same time stamp, it
      will be runned only once.
      4cb4b532
  10. 07 Nov, 2011 7 commits
  11. 28 Oct, 2011 2 commits
  12. 27 Oct, 2011 2 commits
  13. 24 Oct, 2011 2 commits
  14. 20 Oct, 2011 1 commit
  15. 18 Oct, 2011 2 commits
  16. 17 Oct, 2011 4 commits
  17. 03 Oct, 2011 3 commits
  18. 31 Aug, 2011 1 commit
    • Nicolas Godbert's avatar
      Fix slapmonitor to follow latest slaplibrary API. · ff652551
      Nicolas Godbert authored
      Squashed commit of the following:
      
      commit b320e10451f60704f8bf17c3b15ed4760d7df705
      Author: Romain Courteaud <romain@nexedi.com>
      Date:   Tue Aug 30 16:48:28 2011 +0200
      
          Remove unwanted code.
          This will ease merging with the master.
      
      commit 4bed989c16ede96ed49a698fb292d6df65afc5c3
      Merge: 290b06b dd07d69e
      Author: Romain Courteaud <romain@nexedi.com>
      Date:   Tue Aug 30 16:36:54 2011 +0200
      
          Merge branch 'master' into usage_report
      
      commit 290b06b12ea810918b59b9abe7b91becf9c8f702
      Author: Nicolas Godbert <ngodbert@tiolive.com>
      Date:   Wed Jun 1 10:41:38 2011 +0200
      
          Some fixes
      
      commit 45735471d13c7eb98568408e07ae5b2023f6f57a
      Author: Nicolas Godbert <ngodbert@tiolive.com>
      Date:   Tue May 31 18:03:05 2011 +0200
      
          Modification of the methods which generate the XML report
      
      commit b10d7ba05615d6c31d68350be8ae09e4020fbe5f
      Author: Nicolas Godbert <ngodbert@tiolive.com>
      Date:   Tue May 31 17:50:25 2011 +0200
      
          We count the CPU consumption time since the last XML report creation
      
      commit b4abc09cb48664c026bab5acf26382ddca9537d5
      Author: Nicolas Godbert <ngodbert@tiolive.com>
      Date:   Tue May 31 17:39:47 2011 +0200
      
          Slapreport only generates a report if the database is not empty
      ff652551