added pre command for systemd