2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Which process is it that you're trying to kill? If it's launched by a service that's under systemd control, then it may be set to automatically restart on failure.
This Red Hat document explains it in more depth, I know you're running Ubuntu but they both use systemd https://www.redhat.com/sysadmin/systemd-automate-recovery
0
X service is associated with graphical desktop environment for GUI. Your Ubuntu probably have GUI installed. If you do not need GUI, you can switch from graphical.target to multi-user. target with the command
sudo systemctl isolate multi-user.target
To set this permanently,
sudo systemctl set-default multi-user.target