Add example systemd service unit file
This commit is contained in:
parent
86339a88e4
commit
ab7cc7bab1
12
examples/kodi-nfo-feeder.service
Normal file
12
examples/kodi-nfo-feeder.service
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=NFO file feeder service for Kodi's "local" scraper
|
||||||
|
After=multi-user.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
Restart=always
|
||||||
|
Environment='PATH=/usr/local/sbin:/usr/local/bin:/usr/bin'
|
||||||
|
ExecStart=/opt/miniconda3/envs/kodi-nfo-feeder/bin/python /opt/python/kodi-nfo-feeder/dev/kodi-nfo-feeder.py
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user