mirror of
https://github.com/gilbN/theme.park.git
synced 2024-10-03 22:17:08 +02:00
Dont run as service #350
This commit is contained in:
parent
1a0b36a8a2
commit
a094b0fe6c
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
exec \
|
||||
python3 /config/www/themes.py
|
@ -139,7 +139,7 @@ if __name__ == "__main__":
|
||||
themes = [name for name in listdir('./css/theme-options') if isfile(join('./css/theme-options', name))]
|
||||
community_themes = [name for name in listdir('./css/community-theme-options') if isfile(join('./css/community-theme-options', name))]
|
||||
develop = True if isdir(".git") and subprocess.check_output(["git", "symbolic-ref", "--short", "HEAD"]).decode('ascii').strip() == "develop" else False
|
||||
if env_domain:
|
||||
if env_domain and env_domain != '$http_host':
|
||||
DOMAIN = env_domain
|
||||
else:
|
||||
with open("CNAME", "rt", closefd=True) as cname:
|
||||
|
Loading…
Reference in New Issue
Block a user