const options = { paths: ['/opt/scanservjs/usr/lib/scanservjs'] }; config.host = '127.0.0.1'; config.port = 7781; config.scanimage = '/usr/sbin/scanimage'; config.convert = '/usr/bin/convert'; ... [ omissis ] ...