#!/usr/bin/python

import sys
from metux.srvman import service

if len(sys.argv) < 2:
    print "missing service description file"
    sys.exit(1)

if len(sys.argv) < 3:
    print sys.argv[1]+": missing action"
    sys.exit(2)

exit(service.load(sys.argv[1]).run(sys.argv[2]))

f0e77cf164cea1aac07f85a74ad26479ff487a0d
#!/usr/bin/python

import sys
from metux.srvman import service

if len(sys.argv) < 2:
    print "missing service description file"
    sys.exit(1)

if len(sys.argv) < 3:
    print sys.argv[1]+": missing action"
    sys.exit(2)

exit(service.load(sys.argv[1]).run(sys.argv[2]))
