Skip to main content
3 of 4
bringing to the answer an important information burried in the comments

On systemd >= 227 you should be able to use the WorkingDirectory=/usr/local to get your script to execute there. File in under the [Service] section.

Eric Renouf
  • 18.7k
  • 7
  • 51
  • 66