unit config

This commit is contained in:
Siwat Sirichai 2023-09-23 01:40:35 +07:00
parent b852a340ca
commit 72d10c5d73
2 changed files with 6 additions and 4 deletions

View File

@ -16,10 +16,11 @@
"racist_application": { "racist_application": {
"type": "python", "type": "python",
"processes": 10, "processes": 10,
"working_directory": "/www/store/cart/", "working_directory": "/root/stm32-fmt-code/access_control_python_server",
"path": "/www/store/", "home": "/root/stm32-fmt-code/access_control_python_server",
"home": ".virtualenv/", "path": "/root/stm32-fmt-code/access_control_python_server",
"module": "cart.run" "module": "app",
"callable": "app"
} }
} }
} }

View File

@ -0,0 +1 @@
curl -X PUT --data-binary @./unit.json --unix-socket /var/run/control-unit.sock http://localhost/config