summaryrefslogtreecommitdiffstats
path: root/func/minion/modules/service.py
diff options
context:
space:
mode:
authorSteve 'Ashcrow' Milner <stevem@gnulinux.net>2008-01-16 10:23:29 -0500
committerSteve 'Ashcrow' Milner <stevem@gnulinux.net>2008-01-16 10:23:29 -0500
commit0556acbe5ed39c36d38b99dd3ae455691964a1e1 (patch)
treeac87a6b65abc2032fdf685811f4c6299f59e7a7e /func/minion/modules/service.py
parent1420dbfbb699bbe969228173924bfa92ba7f7ce2 (diff)
downloadthird_party-func-0556acbe5ed39c36d38b99dd3ae455691964a1e1.tar.gz
third_party-func-0556acbe5ed39c36d38b99dd3ae455691964a1e1.tar.xz
third_party-func-0556acbe5ed39c36d38b99dd3ae455691964a1e1.zip
added in the desc/version/api items in the modules.
Diffstat (limited to 'func/minion/modules/service.py')
-rw-r--r--func/minion/modules/service.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/func/minion/modules/service.py b/func/minion/modules/service.py
index d1170a8..062aea5 100644
--- a/func/minion/modules/service.py
+++ b/func/minion/modules/service.py
@@ -20,6 +20,10 @@ import os
class Service(func_module.FuncModule):
+ version = "0.0.1"
+ api_version = "0.0.1"
+ description = "Allows for service control via func."
+
def __command(self, service_name, command):
filename = os.path.join("/etc/rc.d/init.d/",service_name)