mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 04:51:39 +02:00
Change import path
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user