ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
fix(agent): restore Linux build + register flag panic
Juan Denis9e0f063d0ace
diff --git a/agent/cmd/agent/main.go b/agent/cmd/agent/main.goindex d14ed27d..238d292b 100644--- a/agent/cmd/agent/main.go+++ b/agent/cmd/agent/main.go@@ -128,7 +128,9 @@ func registerCmd() *cobra.Command {},}- cmd.Flags().StringVarP(&connStr, "connection-string", "c", "", "panel connection string (single value, replaces --token + --server)")+ // no shorthand: "c" belongs to the global --config persistent flag, and+ // pflag panics on shorthand redefinition the moment any command runs+ cmd.Flags().StringVar(&connStr, "connection-string", "", "panel connection string (single value, replaces --token + --server)")cmd.Flags().StringVarP(&token, "token", "t", "", "registration token (use with --server)")cmd.Flags().StringVarP(&serverURL, "server", "s", "", "ServerKit server URL (use with --token)")cmd.Flags().StringVarP(&name, "name", "n", "", "display name for this server")diff --git a/agent/internal/agentui/platform_other.go b/agent/internal/agentui/platform_other.goindex 8a26086b..efffd4e0 100644--- a/agent/internal/agentui/platform_other.go+++ b/agent/internal/agentui/platform_other.go@@ -18,6 +18,17 @@ func waitForServiceRunning(timeout time.Duration) error {return fmt.Errorf("service control not implemented on this platform")}+// isServiceInstalled reports false on non-Windows so the pairing flow skips+// the SCM stop/start dance entirely (there is no service manager to drive;+// systemd integration lands with the cross-platform service controls).+func isServiceInstalled() bool {+ return false+}++func waitForServiceStopped(timeout time.Duration) error {+ return fmt.Errorf("service control not implemented on this platform")+}+func openTarget(target string) error {return fmt.Errorf("open not implemented on this platform")}