Adding service file
This commit is contained in:
1 parent
dd55b69766
commit
c224e8b033
1 file changed
+14
@@ -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
|
||||||
Reference in new issue
Block a user