1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 20:52:20 +00:00

Use a default file

This commit is contained in:
Alexandre Iooss 2020-09-14 16:38:42 +02:00
parent 552290f490
commit 3ad40ae681
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
2 changed files with 7 additions and 6 deletions

7
debian/ghostream.default vendored Normal file
View File

@ -0,0 +1,7 @@
# You may change the following
FLASK_CONFIG="production"
LDAP_URI="ldap://127.0.0.1:389"
LDAP_USER_DN="cn=Users,dc=example,dc=com"
SITE_NAME="Ghostream"
SITE_HOSTNAME="localhost"
FAVICON="/favicon.ico"

View File

@ -5,12 +5,6 @@ After=syslog.target
[Service]
User=www-data
WorkingDirectory=/var/local/ghostream
Environment=FLASK_CONFIG="production"
Environment=LDAP_URI="ldap://127.0.0.1:389"
Environment=LDAP_USER_DN="cn=Utilisateurs,dc=crans,dc=org"
Environment=SITE_NAME="Crans Stream"
Environment=SITE_HOSTNAME="stream.crans.org"
Environment=FAVICON="https://www.crans.org/images/favicon.ico"
EnvironmentFile=-/etc/default/ghostream
ExecStart=/usr/bin/uwsgi --http-socket 127.0.0.1:8080 --master --plugin python3 --module ghostream:app --static-map /static=/var/local/ghostream/ghostream/static
Restart=on-failure