Change import path

This commit is contained in:
Lou Knauer
2022-01-27 09:40:59 +01:00
parent 1c1b043246
commit 436eaf0a9d
23 changed files with 219 additions and 218 deletions

View File

@@ -8,7 +8,7 @@ The `config.json` can have the optional fields *user* and *group*. If provided,
```sh
# 1.: Clone this repository to /var/clustercockpit
git clone git@github.com:ClusterCockpit/cc-specifications.git /var/clustercockpit
git clone git@github.com:ClusterCockpit/cc-backend.git /var/clustercockpit
# 2.: Install all dependencies and build everything
cd /var/clustercockpit

View File

@@ -3,6 +3,7 @@ Description=ClusterCockpit Web Server (Go edition)
Documentation=https://github.com/ClusterCockpit/cc-backend
Wants=network-online.target
After=network-online.target
After=mariadb.service mysql.service
[Service]
WorkingDirectory=/var/clustercockpit
@@ -10,7 +11,7 @@ Type=notify
NotifyAccess=all
Restart=on-failure
TimeoutStopSec=100
ExecStart=/var/clustercockpit/cc-jobarchive --config ./config.json
ExecStart=/var/clustercockpit/cc-backend --config ./config.json
[Install]
WantedBy=multi-user.target

View File

@@ -2,6 +2,8 @@
"addr": "0.0.0.0:443",
"https-cert-file": "/etc/letsencrypt/live/<...>/fullchain.pem",
"https-key-file": "/etc/letsencrypt/live/<...>/privkey.pem",
"db-driver": "mysql",
"db": "clustercockpit:password@/cc_backend",
"user": "clustercockpit",
"group": "clustercockpit"
}