adding the service files and and a script to gather them
This commit is contained in:
1 parent
3d1d8a12d5
commit
283acd26c4
12 files changed
+169
No files matched your search
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Company Site daemon
|
||||
Requires=company.socket
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=westfarn
|
||||
Group=www-data
|
||||
WorkingDirectory=/home/westfarn/Documents/django_live_sites/Company_Site/company_site
|
||||
ExecStart=/home/westfarn/Documents/django_live_sites/Company_Site/venv/bin/gunicorn \
|
||||
--access-logfile - \
|
||||
--workers 3 \
|
||||
--bind unix:/run/company.sock \
|
||||
company_site.wsgi:application
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user