From c224e8b0336514adf4fd3e42627074f0a807c388 Mon Sep 17 00:00:00 2001 From: Eugene Amos Date: Wed, 9 Aug 2023 13:32:07 -0700 Subject: [PATCH] Adding service file --- podfetch/podfetch.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 podfetch/podfetch.service diff --git a/podfetch/podfetch.service b/podfetch/podfetch.service new file mode 100644 index 0000000..645c671 --- /dev/null +++ b/podfetch/podfetch.service @@ -0,0 +1,14 @@ +[Unit] +Description=Podcast Folder Monitor Service +Wants=network-online.target +After=network-online.target + +# Change [username] with your own. +[Service] +ExecStart=/usr/bin/python3 /home/[username]/scripts/podcast_folder_monitor.py +WorkingDirectory=/home/[username]/scripts +Restart=always +User=[username] + +[Install] +WantedBy=multi-user.target \ No newline at end of file