Open Gbury opened 7 years ago
See option WorkingDirectory -- Simon
I'm not sure I understand what you mean. For clarification, as far as I understand:
ExecStart
must be an absolute path, which is annoying given that the service file shouldn't need to change when switching compilers with opamThe only way I see how to use the WorkingDirectory
option to solve the problem would be to somehow use opam config var bin
, but then again I'm not sure it would help with the absolute path problem.
As a side note, the small commentary about persistent storage using the WorkingDirectory
option wasn't very enlightening for me, ^^
Or use a script in ~/bin that will eval opam config env to find the proper frogutils -- Simon
Ah. Just use one of the switches? It won't change the behavior of frogutils... -- Simon
As I'm learning, it seems systemd requires an absolute path in the
ExecStart
command of a service file, which means the current file indata
cannot be directly used.