Add Sankofa consolidated hub operator tooling
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Sankofa non-chain web hub (nginx static roots per Host)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=/usr/sbin/nginx -t -c /etc/sankofa-web-hub/nginx.conf
|
||||
ExecStart=/usr/sbin/nginx -g "daemon off;" -c /etc/sankofa-web-hub/nginx.conf
|
||||
ExecReload=/usr/sbin/nginx -s reload
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
16
config/systemd/sankofa-phoenix-api-hub-nginx.service.example
Normal file
16
config/systemd/sankofa-phoenix-api-hub-nginx.service.example
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Sankofa Phoenix API hub (nginx path router to Phoenix GraphQL + dbis_core REST)
|
||||
After=network.target
|
||||
# After=dbis-core.service sankofa-phoenix-api.service
|
||||
# Uncomment Wants= when subgraphs are on the same host and managed by systemd.
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=/usr/sbin/nginx -t -c /etc/sankofa-phoenix-api-hub/nginx.conf
|
||||
ExecStart=/usr/sbin/nginx -g "daemon off;" -c /etc/sankofa-phoenix-api-hub/nginx.conf
|
||||
ExecReload=/usr/sbin/nginx -s reload -c /etc/sankofa-phoenix-api-hub/nginx.conf
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user