Noob question ahead. I'm running a debian 4.8.4-1 x64 vanilla on a VirtualBox VM on a Win 7 x64 host. Purpose of the installation is to serve as a server for the subsonic music streaming service, which offers a webinterface on port 4040. The service runs as user 'subsonic', which is a standard user which can login, and has a home dir (not sure if this matters.) When I start the VM from the windows host, the machine boots up and gives me a login prompt. At this point, I can access the apache webserver on port 80 from other machines, but I cannot access the subsonic service on port 4040. As soon as I login the subsonic user, the subsonic service is available. Obviously, the subsonic service is only started after the user logs in, while apache starts before the login. What is the difference, and how do I set the subsonic service to start up before login? Is this even the right approach, or should I log in the user automatically instead?I'm looking for a way that works, and preferrably is idiomatic to the linux philosophy. Thank you for your help!
Start service before user logs in
debian;systemd;services