mrusse / soularr

A Python script that connects Lidarr with Soulseek!
77 stars 7 forks source link

Added lock file mechanism #5

Closed kappa118 closed 1 month ago

kappa118 commented 1 month ago

This adds in a lock file to prevent multiple instances of Soularr from running. This will allow Soularr to be added in as a cronjob and prevent multiple Soularr scripts from running simultaneously.

mrusse commented 1 month ago

Already have something like this personally in a bash script that runs soularr.py but great idea to integrate it into the actual script. Thanks.