Browse Source

Přesunutí uwsgi configu v systemd službě

export_seznamu_prednasek
Pavel "LEdoian" Turinsky 3 years ago
parent
commit
d2c782b075
  1. 2
      setup/systemd/mamweb-prod.service
  2. 2
      setup/systemd/mamweb-test.service

2
setup/systemd/mamweb-prod.service

@ -4,7 +4,7 @@ After=network.target
[Service] [Service]
WorkingDirectory=/akce/mam/www/mamweb-prod WorkingDirectory=/akce/mam/www/mamweb-prod
ExecStart=/usr/bin/uwsgi --ini mamweb_prod.ini ExecStart=/usr/bin/uwsgi --ini setup/uwsgi/mamweb_prod.ini
[Install] [Install]
WantedBy=default.target WantedBy=default.target

2
setup/systemd/mamweb-test.service

@ -4,7 +4,7 @@ After=network.target
[Service] [Service]
WorkingDirectory=/akce/mam/www/mamweb-test WorkingDirectory=/akce/mam/www/mamweb-test
ExecStart=/usr/bin/uwsgi --ini mamweb_test.ini ExecStart=/usr/bin/uwsgi --ini setup/uwsgi/mamweb_test.ini
[Install] [Install]
WantedBy=default.target WantedBy=default.target

Loading…
Cancel
Save