first commit
This commit is contained in:
13
etc/ludo/ludo.service
Normal file
13
etc/ludo/ludo.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Nextcloudregister a service to register in nextcloud
|
||||
After=local-fs.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Environment=PYTHONPATH=/usr/lib/python3/dist-packages/:/sites/
|
||||
ExecStart=/usr/bin/uwsgi-core --ini /etc/ludo/uwsgi.ini
|
||||
User=ludo
|
||||
Group=ludo
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
5
etc/ludo/uwsgi.ini
Normal file
5
etc/ludo/uwsgi.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
[uwsgi]
|
||||
socket = :9092
|
||||
protocol = http
|
||||
wsgi-file = /sites/ludo/app.py
|
||||
plugin = python3
|
||||
Reference in New Issue
Block a user