[seiscomp, scanloc] Install, add .gitignore
This commit is contained in:
18
etc/init/scalert.py
Normal file
18
etc/init/scalert.py
Normal file
@ -0,0 +1,18 @@
|
||||
import seiscomp.kernel
|
||||
|
||||
|
||||
class Module(seiscomp.kernel.Module):
|
||||
def __init__(self, env):
|
||||
seiscomp.kernel.Module.__init__(self, env, env.moduleName(__file__))
|
||||
|
||||
def updateConfigProxy(self):
|
||||
return "trunk"
|
||||
|
||||
def updateConfig(self):
|
||||
# By default the "trunk" module must be configured to write the
|
||||
# bindings into the database
|
||||
return 0
|
||||
|
||||
def supportsAliases(self):
|
||||
# The default handler does not support aliases
|
||||
return True
|
Reference in New Issue
Block a user