Adding service file
This commit is contained in:
parent
dd55b69766
commit
c224e8b033
14
podfetch/podfetch.service
Normal file
14
podfetch/podfetch.service
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user