Implemented `dispense -c`, bound SIGTERM to clean exist, re-created the pidfile
[tpg/opendispense2.git] / src / server / main.c
index eedafc3..83c8e06 100644 (file)
@@ -136,6 +136,7 @@ int main(int argc, char *argv[])
        }
        
        signal(SIGINT, sigint_handler);
+       signal(SIGTERM, sigint_handler);
        
        openlog("odispense2", 0, LOG_LOCAL4);
        

UCC git Repository :: git.ucc.asn.au