add example system service file,
add example config file
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"listenPort": 8083,
|
||||||
|
"sessionCookieName": "PAASUserManagerTicket",
|
||||||
|
"sessionCookie": {
|
||||||
|
"path": "/",
|
||||||
|
"httpOnly": true,
|
||||||
|
"secure": false,
|
||||||
|
"maxAge": 7200
|
||||||
|
},
|
||||||
|
"pve": {
|
||||||
|
"url": "https://<proxmox host>/api2/json",
|
||||||
|
"token": {
|
||||||
|
"user": "proxmoxaas-api",
|
||||||
|
"realm": "pam",
|
||||||
|
"id": "token",
|
||||||
|
"uuid": "<secret-uuid>"
|
||||||
|
},
|
||||||
|
"paas-client-role": "<PAAS Client Role>"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=proxmoxaas-user-manager-api
|
||||||
|
After=network.target
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/<path to dir>
|
||||||
|
ExecStart=/<path to dir>/proxmoxaas-fabric
|
||||||
|
Restart=always
|
||||||
|
RestartSec=10
|
||||||
|
Type=simple
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
Reference in New Issue
Block a user