DrayTek UK Users' Community Forum

Help, Advice and Solutions from DrayTek Users

Running Syslog as a service

  • sam.thompson
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
05 Feb 2014 16:32 #78979 by sam.thompson
Running Syslog as a service was created by sam.thompson
Hi,

I was wondering whether it was possible to run Syslog as a service, and if so, how?

As we don't have any workstations on our network that are left on 24/7, the ideal scenario is to install Syslog on one of our servers. Of course, these aren't left logged in either, so it needs to run as a service.

I've tried simply creating a new service and pointing it to the exe (sc create "Draytek Syslog" binpath= "exepath"), but it doesn't start successfully. Do I need to use an .ini file as well, and if so, what should it contain?

Cheers.

Please Log in or Create an account to join the conversation.

More
04 Mar 2014 14:20 #79271 by jameskite
Replied by jameskite on topic Re: Running Syslog as a service
What you are probably looking for is a windows service wrapper.
A normal exe cannot be run as a service, the wrapper is a a service enabled exe that can be configured to run whichever exe you want.
A quick google search gave this result https://kenai.com/projects/winsw but I cannot vouch for how good it is.

Please Log in or Create an account to join the conversation.

  • sam.thompson
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
27 Mar 2014 11:07 #79475 by sam.thompson
Replied by sam.thompson on topic Re: Running Syslog as a service
Okay thanks - I'll give that a go.

Please Log in or Create an account to join the conversation.

Moderators: Sami