# -*- coding: utf-8 -*-
# $Id: servicecontrol.py 1634 2013-04-12 15:36:36Z amelung $
#
# Copyright (c) 2013 Otto-von-Guericke University Magdeburg
#
# This file is part of ECSpooler.
#
"""
Created on 28.03.2013
@author: amelung
"""
import os
import sys
import time
"""
"""
def usage():
"""
"""
raise NotImplementedError("Please Implement this method")
"""
"""
"""
"""
"""
"""
"""
@param cmd:
"""
try:
if cmd == 'start':
elif cmd == 'stop':
elif cmd == 'restart':
elif cmd == 'status':
else:
except ValueError, e:
#sys.exit(2)
except Exception, e:
#sys.exit(99)
"""
"""
"""
"""
try:
else:
except AttributeError:
cpid = 0
if cpid == 0:
# child process
else:
# parent process
"""
"""
raise NotImplementedError("Please Implement this method")
"""
"""
raise NotImplementedError("Please Implement this method")
"""
"""
"""
"""
raise NotImplementedError("Please Implement this method")
"""
"""
"""
"""
raise NotImplementedError("Please Implement this method")