summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2007-09-24 15:44:26 -0400
committerSeth Vidal <skvidal@fedoraproject.org>2007-09-24 15:44:26 -0400
commit122714e5589843c5f283ad935b20345576d24ca6 (patch)
treef3b809bde47d268e3b771d5aa4aed84064ba300f /scripts
parent8454fe3216f935746fad17a8c48f4df0e40a0d0d (diff)
downloadthird_party-func-122714e5589843c5f283ad935b20345576d24ca6.tar.gz
third_party-func-122714e5589843c5f283ad935b20345576d24ca6.tar.xz
third_party-func-122714e5589843c5f283ad935b20345576d24ca6.zip
add certmaster startup and execute script
move certmaster config file into etc path move certmaster.py into func path
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/certmaster12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/certmaster b/scripts/certmaster
new file mode 100755
index 0000000..3b212b4
--- /dev/null
+++ b/scripts/certmaster
@@ -0,0 +1,12 @@
+#!/usr/bin/python
+
+import sys
+import distutils.sysconfig
+
+sys.path.append("%s/func" % distutils.sysconfig.get_python_lib())
+
+import certmaster
+
+cm = certmaster.CertMaster('/etc/func/certmaster.conf')
+server = certmaster.serve(cm)
+