diff --git a/install.sh b/old_install.sh similarity index 100% rename from install.sh rename to old_install.sh diff --git a/setup.py b/setup.py index 140d282..4c7387e 100644 --- a/setup.py +++ b/setup.py @@ -20,6 +20,7 @@ "console_scripts": [ "srvcheck=srvcheck.main:main", "srvcheck-defaultconf=srvcheck.main:defaultConf", + "srvcheck-updateinstall=srvcheck.main:updateInstall", ], }, zip_safe=False, diff --git a/srvcheck/main.py b/srvcheck/main.py index 5d739b4..a093029 100644 --- a/srvcheck/main.py +++ b/srvcheck/main.py @@ -37,6 +37,14 @@ ConfSet.addItem(ConfItem("tasks.govAdmin", None, str, "Proposal voter nickname")) +def defaultConf(): + print(ConfSet.help()) + + +def updateInstall(): + pass + + def addTasks(services): # Create the list of tasks tasks = [] @@ -51,10 +59,6 @@ def addTasks(services): return tasks -def defaultConf(): - print(ConfSet.help()) - - class Services: def __init__(self, conf, notification, system, chain, persistent): self.conf = conf