Codebase list kali-menu / ba07d71
Use "systemctl" instead of "service" to manage services Raphaël Hertzog 4 years ago
6 changed file(s) with 6 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
00 [Desktop Entry]
11 Name=metasploit framework
22 Encoding=UTF-8
3 Exec=/usr/share/kali-menu/exec-in-shell "service postgresql start && msfdb init && msfconsole"
3 Exec=/usr/share/kali-menu/exec-in-shell "systemctl start postgresql && msfdb init && msfconsole"
44 Icon=kali-metasploit-framework
55 StartupNotify=false
66 Terminal=true
00 [Desktop Entry]
11 Name=Nessus start
22 Encoding=UTF-8
3 Exec=/usr/share/kali-menu/exec-in-shell "/etc/init.d/nessusd start"
3 Exec=/usr/share/kali-menu/exec-in-shell "systemctl start nessusd && systemctl --no-pager status nessusd"
44 Icon=kali-nessus
55 StartupNotify=false
66 Terminal=true
00 [Desktop Entry]
11 Name=Nessus stop
22 Encoding=UTF-8
3 Exec=/usr/share/kali-menu/exec-in-shell "/etc/init.d/nessusd stop"
3 Exec=/usr/share/kali-menu/exec-in-shell "systemctl stop nessusd && systemctl --no-pager status nessusd"
44 Icon=kali-nessus
55 StartupNotify=false
66 Terminal=true
00 [Desktop Entry]
11 Name=xplico start
22 Encoding=UTF-8
3 Exec=/usr/share/kali-menu/exec-in-shell "service xplico start"
3 Exec=/usr/share/kali-menu/exec-in-shell "systemctl start xplico && systemctl --no-pager status xplico"
44 Icon=kali-xplico
55 StartupNotify=false
66 Terminal=true
00 [Desktop Entry]
11 Name=xplico stop
22 Encoding=UTF-8
3 Exec=/usr/share/kali-menu/exec-in-shell "service xplico stop"
3 Exec=/usr/share/kali-menu/exec-in-shell "systemctl stop xplico && systemctl --no-pager status xplico"
44 Icon=kali-xplico
55 StartupNotify=false
66 Terminal=true
00 #!/bin/sh
1 echo "> Executing “$@”"
12 eval $@
23 USER=${USER:-$(whoami)}
34 SHELL=${SHELL:-$(getent passwd $USER|cut -d: -f7)}