lw.comm-server
lw.comm-server copied to clipboard
Feature request - linuxen
Remove user/directory hardcoding in *.service and build up using a 'preinstall' script, parsing $USER and $CWD environment variables instead. Will be more portable, for any debian derivative which uses the .service file, not just pi.
I'm not a linux expert, but would be happy to include your changes. Please make a pull requenst or send me the needed changes.
What about relying more on docker? I like systemd but at the same time it means that you need to handle the dependencies by yourself be it node or the project dependencies or even environment variables. Docker makes it easy to do something like building from dockerhub and --restart=always to run it on boot and restart if any issue.
Our main userbase are Windows Users. They prefer a simple installer/exe and don't want to deal with docker. But Docker might be a good solution for installation of lw.comm-server on Raspi & Linux.