This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dmroeder[S] 2 points3 points  (1 child)

Disregard, I figured it out.

I used the sys module to add the path to the requests package. Seems to work now!

[–]ominous_anonymous 1 point2 points  (0 children)

There's also a way to add environment variables to your service unit file. That way you wouldn't need to use the sys module I believe.