CC-2271 1.8.2 code cleanup tasks

changing 1.8.1 upgrade script to using raw source first.
This commit is contained in:
Naomi 2011-05-18 14:22:45 -04:00
parent d6616004a6
commit b84854c13c
15 changed files with 230 additions and 20 deletions

View file

@ -0,0 +1,16 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
if os.geteuid() != 0:
print "Please run this as root."
sys.exit(1)
try:
print "Starting daemontool script recorder"
os.system("svc -u /etc/service/recorder")
except Exception, e:
print "exception:" + str(e)