Closed garro95 closed 2 months ago
hey, thanks for you contribution! i think a good place for this is the wiki, and i think i'll move all the "service" documentation there, and then link the page from the readme. I reported your content at https://github.com/rejetto/hfs/wiki/Service-installation Would you care to make all the changes you see fit?
Thank you for accepting it. I will propose any further changes in the wiki you linked
Not sure it's worth mentioning in the installation guide, but I was able to make HFS run as a service on a linux box using a non privileged user.
The process is quite straight-forward and it works on Ubuntu 24.04 LTS:
/var/lib/hfs
:[Service] Type=simple User=hfs Restart=always ExecStart=/usr/local/bin/hfs --cwd /var/lib/hfs
[Install] WantedBy=multi-user.target