[installation] Init with inital config for global

This commit is contained in:
2025-10-30 15:08:17 +01:00
commit 7640b452ed
3678 changed files with 2200095 additions and 0 deletions

31
etc/init/scqcv.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