fix service name for director under Debian
fix service autorestart
set correct console package var
finish implementing template/source handling
lints