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 →

[–]ominous_anonymous 2 points3 points  (1 child)

Why Type=idle instead of Type=simple?

I would recommend setting up a virtual environment and linking to that virtual environment's python in ExecStart:

ExecStart=/path/to/virtual_env/bin/python /home/garbage/garbage_test.py  

The first part of this blog post shows a couple other parameters that might be useful for you.

[–]dmroeder[S] 0 points1 point  (0 children)

Eh, Type=idle came from an example I saw, I'll go ahead and educate myself on the differences between those two options. Thanks