SABnzbd - Translations

Windows Service support

Registered by shypike on 2010-03-17

Implement true Windows Service support so that SABnzbd can run as a Windows service without trickery.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
shypike
Direction:
Approved
Assignee:
shypike
Definition:
Approved
Series goal:
Accepted for 0.6.x
Implementation:
Implemented
Milestone target:
milestone icon 0.6.0
Started by
shypike on 2010-03-17
Completed by
shypike on 2010-10-16

Related branches

Sprints

Whiteboard

Basic functionality has been implemented.
SABnzbd can register itself as a service by using command line parameters.
It responds to start, stop and restart and does some very basic logging to Windows event log.

Implemented SABHelper service to make UI or scheduled restart of SABnzbd service possible.

Issues:
- Currently only a binary built on XP (not on Win7) will work. Likely to be a py2exe problem.
- The Helper should check the actual service. Since it can readout the command line from the registry it can know on which host:port SABnzbd is active, so it can issue periodic API requests. When unresponsive for too long, it can kill and restart the service.

Future:
- Windows Event Logging is quite basic now, needs some improvement.

Note:
Integration in installer will not be implemented.
There's no need to installing as a service directly.
The feature is for advanced users only and needs some configuration beforehand.
E.g. the service needs the -f option.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.