1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-07-01 09:01:15 +02:00

Fix hostname

This commit is contained in:
Alexandre Iooss
2020-09-14 13:52:13 +02:00
parent 73bf43afc5
commit 4b5c5d282e
8 changed files with 16 additions and 16 deletions

18
doc/ghostream.service Normal file
View File

@ -0,0 +1,18 @@
[Unit]
Description=Simple streaming server
After=network.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
ExecStart=uwsgi --http-socket 127.0.0.1:8080 --master --plugin python3 --module ghostream:app --static-map /static=/var/local/ghostream/ghostream/static
Restart=always
[Install]
WantedBy=multi-user.target