Hi everyone,

I'm playing around with a simple GoCD configuration on a Mac mini and was 
wondering whether it is at all possible to start Go Server/Go Agent with a 
system level launch daemon when the system starts? 
I have tried to make this work, but all I got after several trials and 
errors was :

Exception in thread "main" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
at java.awt.Window.<init>(Window.java:536)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.JFrame.<init>(JFrame.java:189)
at 
com.thoughtworks.go.server.launcher.GoMacLauncher.<init>(GoMacLauncher.java:53)
at 
com.thoughtworks.go.server.launcher.GoMacLauncher.main(GoMacLauncher.java:50)

The daemon was running as root, as I could not make it use a dedicated user 
due to file permission problems.

The setup is Go Server 18.5.0-6679.6679 running on macOS 10.12.5 with Java 
version 1.8.0_152

Any insights will be highly appreciated.

Best regards,
Katya

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to