mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
[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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user