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": {
"type": "python",
"processes": 10,
"working_directory": "/www/store/cart/",
"path": "/www/store/",
"home": ".virtualenv/",
"module": "cart.run"
"working_directory": "/root/stm32-fmt-code/access_control_python_server",
"home": "/root/stm32-fmt-code/access_control_python_server",
"path": "/root/stm32-fmt-code/access_control_python_server",
"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