Modified to work with SystemD and ArchLinux installation