diff --git a/garage.py b/garage.py index fae4b08..848d83c 100644 --- a/garage.py +++ b/garage.py @@ -14,7 +14,6 @@ stateFile = 'www/garage.json' def main(): - signal(SIGTERM, cleanExit()) config = ConfigParser() config.read('garage.cfg') eastPin = config['garage'].getint('east-pin') @@ -64,12 +63,5 @@ def persistState(): json.dump(state, file) -def cleanExit(): - def _exit_(signum, frame): - sys.exit(0) - - return _exit_ - - if __name__ == '__main__': main()