The server is running Debian 7 Wheezy without systemd.
I have a user in Debian with Perlbrew installed into their home directory. The user is running a Mojolicious app. In order for the app to work, the Perlbrew bashrc file must be loaded. Currently, the user logs in and runs their app with
hypnotoad app, which launches the daemon. I am trying to keep the app, and everything related to it isolated to the user's home directory, and I'd really rather not mess with system Perl. However, I'd like for their app to run as a service, started on boot and so on, but I'm not sure how to source in the Perlbrew bashrc when running the service as the user.
So, in short, my question is summed up in the title, but basically I am wondering how to source in a bashrc file for a service.