Need to update sentry-worker.service to use the new run worker command if the version is 8.5.0 or higher. Also, it does not appear that the run worker command has a --pidfile flag
% sentry --config=/var/lib/sentry run worker -f /var/log/sentry/sentry-worker.log --pidfile=/var/lib/sentry/sentry-worker.pid
Error: no such option: --pidfile
https://github.com/getsentry/sentry/blob/8.5.0/CHANGES#L5
Need to update sentry-worker.service to use the new
run worker
command if the version is 8.5.0 or higher. Also, it does not appear that therun worker
command has a--pidfile
flag