For those that came from kali wheezy and miss the command:
ex : "service network-manager start" that changed in kali jessie to "/etc/init.d/network-manager start"
all you have to do to add this old command to your kali is create a script in your "/usr/bin" with the name :
service
and add this bash code to it :
then add execution permissions to this script by typing :#!/bin/bash
cmd=$1
run=$2
/etc/init.d/$cmd $run
exit
chmod +x /usr/bin/service
and its done .
Now you can stop , restart or run your linux services like it was before by typing :
service nginx start
or any other service in /etc/init.d/ directory .
Last none :
On a migration from wheezy to jessie (moto ->jessie) kali , you will have a filename with the name "service" on your "/usr/sbin" folder that will be not used anymore .
rename that file , so the terminal console does not give priority to it instead the new file .
then close your terminal and open it again and it should work perfectlymv /usr/sbin/service /usr/sbin/service.bak