KiLMaN / T411-Torznab

A NodeJs proxy to download from T411 in Sonarr
26 stars 15 forks source link

how to make the proxy run as a service, auto start etc ? #26

Closed o0larrylurex0o closed 7 years ago

o0larrylurex0o commented 7 years ago

Hi I've been trying to run your little fantastic piece of software as a service :)

I tried to simply follow something like that : https://doc.ubuntu-fr.org/tutoriel/comment_transformer_un_programme_en_service

or like that : https://certsimple.com/blog/deploy-node-on-linux#node-linux-service-systemd

But i can't get it to work, could you give me hand ? Thx :)

o0larrylurex0o commented 7 years ago

Okay the second tutorial works fin i just needed to add

!/usr/bin/env nodejs

at the begining of the server.js file :)

hope it can help others