Currently trying to get a new systemd script to work. The script has the following included:
ExecStart=/bin/bash -lc 'bundle exec sidekiq -e production'
However that seems not to work.
The error I then get is:
Failed at step CHDIR spawning /bin/bash: No such file or directory
I need to execute the command as a login shell.