Sample Header Ad - 728x90

How to properly kill a service upon shutdown?

1 vote
0 answers
106 views
I am having some issues with a component that I have installed recently, that is Matlab Drive Connector for Linux Fedora 37. The app itself works fine, interacts well with main Matlab program, but it annoys me very much upon shutdown of my machine. Seems like this application relies on a service that systemd can't properly terminate when I shutdown or reboot. Luckily there's a time limit after which the system forcefully terminates the service. An easy fix would be to manually stop the service using the application itself, running MATLABConnector stop, but I sometimes forget to type it in before shutdown. Any idea on how I can fix this issue? Having MATLABConnector stop run automatically before shutdown would solve the issue, but I honestly have no clue on how to perform that.
Asked by Luca Domeneghetti (11 rep)
Apr 3, 2023, 09:59 AM
Last activity: Apr 3, 2023, 02:58 PM