Pathname expansion with Wildcards etc is a shell function. The systemd service does not invoke the shell but runs hddtmp directly. So the solution would be to use: DEVICE="/dev/sdb /dev/sdc /dev/sdd"