why not `%systemd_preun autotestd.service`  ?

Also should use `/usr/bin/systemctl`