/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos

* clients.conf.xml: Renamed to "mandos-clients.conf.xml".

* Makefile (DOCBOOKTOMAN, DOCS): New
  (all): Include $(DOCS)
  (%.5: %.xml, %.8: %.xml, %.8mandos: %.xml): New.
  (clean): Also remove $(DOCS)

Show diffs side-by-side

added added

removed removed

Lines of Context:
761
761
    
762
762
    if not debug:
763
763
        daemon()
764
 
 
765
 
    pidfilename = "/var/run/mandos/mandos.pid"
766
 
    pid = os.getpid()
767
 
    try:
768
 
        pidfile = open(pidfilename, "w")
769
 
        pidfile.write(str(pid) + "\n")
770
 
        pidfile.close()
771
 
        del pidfile
772
 
    except IOError, err:
773
 
        logger.error("Could not write %s file with PID %d",
774
 
                     pidfilename, os.getpid())
775
764
    
776
765
    def cleanup():
777
766
        "Cleanup function; run on exit"