[manual] Move /etc/humbug-* files into /etc/zulip

The moved files are:
humbug-server
humbug-local
humbug-machinetype

Their new names are their old names with 'humbug-' removed.

zulip-puppet-apply must be run before this commit is deployed

(imported from commit f4eb523244d3409b5809c279301225d3fdf0c230)
This commit is contained in:
Zev Benjamin
2013-10-28 17:24:33 -04:00
parent 09acf1c22d
commit 57bef07832
8 changed files with 18 additions and 11 deletions

View File

@@ -15,8 +15,8 @@ logging.basicConfig(format="%(asctime)s restart-server: %(message)s",
deploy_path = os.path.realpath(os.path.join(os.path.dirname(__file__), '..'))
os.chdir(deploy_path)
if os.path.exists("/etc/humbug-server"):
with open("/etc/humbug-machinetype") as mtf:
if os.path.exists("/etc/zulip/server"):
with open("/etc/zulip/machinetype") as mtf:
if pwd.getpwuid(os.getuid())[0] != "zulip":
logging.error("Must be run as user 'zulip'.")
sys.exit(1)