From f6aafd0f870ba0b9afc4e70233543e3f9d36fcfe Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Thu, 23 Apr 2026 22:36:52 +0000 Subject: [PATCH] add example system service file, add example config file --- configs/template.config.json | 20 ++++++++++++++++++++ init/proxmoxaas-user-manager-api.service | 11 +++++++++++ 2 files changed, 31 insertions(+) create mode 100644 configs/template.config.json create mode 100644 init/proxmoxaas-user-manager-api.service diff --git a/configs/template.config.json b/configs/template.config.json new file mode 100644 index 0000000..9142f8d --- /dev/null +++ b/configs/template.config.json @@ -0,0 +1,20 @@ +{ + "listenPort": 8083, + "sessionCookieName": "PAASUserManagerTicket", + "sessionCookie": { + "path": "/", + "httpOnly": true, + "secure": false, + "maxAge": 7200 + }, + "pve": { + "url": "https:///api2/json", + "token": { + "user": "proxmoxaas-api", + "realm": "pam", + "id": "token", + "uuid": "" + }, + "paas-client-role": "" + } +} \ No newline at end of file diff --git a/init/proxmoxaas-user-manager-api.service b/init/proxmoxaas-user-manager-api.service new file mode 100644 index 0000000..d60719a --- /dev/null +++ b/init/proxmoxaas-user-manager-api.service @@ -0,0 +1,11 @@ +[Unit] +Description=proxmoxaas-user-manager-api +After=network.target +[Service] +WorkingDirectory=/ +ExecStart=//proxmoxaas-fabric +Restart=always +RestartSec=10 +Type=simple +[Install] +WantedBy=default.target \ No newline at end of file