Skip to content

Make systemd unit files Type=exec

FeRD (Frank Dana) requested to merge ferdnyc/recoll:systemd-unit-type into master

A couple of very minor housekeeping changes, to tweak the configuration of the sample systemd unit files.

systemd's documentation now recommends Type=exec over Type=simple, because it will confirm that the recollindex process actually starts up successfully rather than returning immediately after forking (but before exec'ing recollindex). see systemd.service(5) man page.

Also, add a RestartSec=60 to the sample user unit file (which uses recollindex -w 30), to correspond with the system unit file's RestartSec=30 and recollindex -w 10.

Merge request reports