Jump to content

a way to do linux service, in a good way.


jaap aarts

Recommended Posts

Right now you have to execute the linux server as the user itself, because systemd(servicemanager for linux) doesnt provide a home directory.

And the  config files are located in the home directory.

You should store your config in /etc/{wathever you wan to use} so you dont have to use the $HOME variable for the service, this makes the service runnable and changing the location of the config file to here also makes it so the configuration is userindependent. I think this is supposed to be with the new service system. Storing the config in a users directory makes things complecated and you(the program) have no idea where its actually stored when the service starts(before the user is logged in).

You can have user specific configs, checking if a replacement config exists in the user directory on login and then switching to that.

The only reason your service actually crashes on linux is because of the fact that there is not $HOME set yet, for the rest it runs.

Link to comment
Share on other sites

1 hour ago, Nick Bolton said:

This will be fixed in beta5 (due in 4-5 weeks). Need a refund? refunds@symless.com

haha, no I dont need a refund :) this is just a suggestion on how to do it, since the current way is system wide and doesnt work on linux.

 

Link to comment
Share on other sites

On 9/24/2017 at 3:48 AM, Nick Bolton said:

This will be fixed in beta5 (due in 4-5 weeks). Need a refund? refunds@symless.com

did you create a hotkey for this ?

Link to comment
Share on other sites

  • Synergy Team
Just now, CapnJoe said:

did you create a hotkey for this ?

Copy/paste. Seems to be the answer to 90% of posts right now.

Link to comment
Share on other sites

Sad, I bought it knowing it's not final state, and been super happy with it, I used to have an issue with 1.x where if I left the cursor on my mac client and win+L when getting up from desk I'd have to use a mouse on the mac ( and keyboard if screensaver password was needed ) to stop synergy - log into windows - and restart synergy. This has been working so smooth on beta4 without having to deal with that. So Thank you sir, I'm glad to have been a part of this SDLC.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...