Troubles Running MSR as a Service
-
It may exist in that directory, but possibly as a broken symbolic link. This file (and similar like
npm
) are often symlinked to a different directory where the real executable file is installed. Can you post the output ofls -ld /usr/bin/node
? And if it is a symlink, make sure the location/file it points to exists.Also the
Environment
line is malformed. Refer to thereactor.service-example
file in thetools
directory. -
It may exist in that directory, but possibly as a broken symbolic link. This file (and similar like
npm
) are often symlinked to a different directory where the real executable file is installed. Can you post the output ofls -ld /usr/bin/node
? And if it is a symlink, make sure the location/file it points to exists.Also the
Environment
line is malformed. Refer to thereactor.service-example
file in thetools
directory.@toggledbits heres the output
-rwxr-xr-x 1 root root 81180048 Jul 7 05:05 /usr/bin/node
I did create a symlink hoping that would work using this command
/usr/bin$ sudo ln -s node nodejs
-
Not sure where you are going with that symlink. The file should be called
node
and notnodejs
, so don't do that. What happens when you run/usr/bin/node -v
on the command line? -
Good. Then your
WorkingDirectory
is wrong. So is yourEnvironment
line (see my earlier comment, it's malformed). Are you sure theWorkingDirectory
should not be/home/armans2/reactor
? That would make more sense for the configuration ofUser
. -
Good. Then your
WorkingDirectory
is wrong. So is yourEnvironment
line (see my earlier comment, it's malformed). Are you sure theWorkingDirectory
should not be/home/armans2/reactor
? That would make more sense for the configuration ofUser
.@toggledbits Ha that was it, I was playing around with the Environment line cause it wasn't working at first and forgot to revert it back. Now that I have MSR working as a service, will this start on boot, or do I have to configure that?
-
systemctl enable reactor.service
-
@toggledbits Ha that was it, I was playing around with the Environment line cause it wasn't working at first and forgot to revert it back. Now that I have MSR working as a service, will this start on boot, or do I have to configure that?
@pabla said in Troubles Running MSR as a Service:
@toggledbits Ha that was it, I was playing around with the Environment line cause it wasn't working at first and forgot to revert it back. Now that I have MSR working as a service, will this start on boot, or do I have to configure that?
If you are able to use Docker, life is much much easier...
-
@pabla said in Troubles Running MSR as a Service:
@toggledbits Ha that was it, I was playing around with the Environment line cause it wasn't working at first and forgot to revert it back. Now that I have MSR working as a service, will this start on boot, or do I have to configure that?
If you are able to use Docker, life is much much easier...