[seiscomp, scanloc] Install, add .gitignore

This commit is contained in:
2025-10-09 15:07:02 +02:00
commit 20f5301bb1
2848 changed files with 1315858 additions and 0 deletions

31
etc/init/scmapcut.py Normal file
View File

@ -0,0 +1,31 @@
import seiscomp.kernel
class Module(seiscomp.kernel.Module):
def __init__(self, env):
seiscomp.kernel.Module.__init__(self, env, env.moduleName(__file__))
# do not allow to start the module as daemon
def start(self):
self.env.log("%s cannot be started by design" % self.name)
return None
# do not allow to stop the module as daemon
def stop(self):
return None
def enable(self):
self.env.log("%s cannot be enabled by design" % self.name)
return None
# module should not run and not be listed upon seiscomp status or in scconfig system panel
def status(self, _shouldRun):
return 1
# do nothing
def updateConfig(self):
return 0
def supportsAliases(self):
# The default handler does not support aliases
return True