-
Notifications
You must be signed in to change notification settings - Fork 1
Serviceconfig
Aryanboxout edited this page Dec 16, 2021
·
2 revisions
pi@raspberrypi:~ $ sudo nano /etc/systemd/system/homesite.service
[Unit] Description=Gunicorn instance to serve homesite web project After=network.target
[Service] User=ubuntu Group=www-data WorkingDirectory=/home/ubuntu/codefish Environment="PATH=/home/ubuntu/codefish/homesite/bin" ExecStart=/home/pi/codefish/homesite/bin/gunicorn --workers 3 --bind unix:homesite.sock -m 007 main:app
[Install] WantedBy=multi-user.target