On 16/05/2023 00:54, Charles Curley wrote:
On Mon, 15 May 2023 22:44:37 +0530
"Susmita/Rajib" wrote:

ExecStart=/etc/rc.local start
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99
ExecStart=mousepad

The fact that you have two ExecStart lines in there might have
something to do with it.

Charles, ExecStart commands are accumulated, see systemd.service(5). To clear earlier specified value (e.g. in an override config snippet) use the directive with no command

    ExecStart=

Back to the original topic. Anyway it was a bad idea to abuse rc-local.service. Unless it was a GUI application, it would be better to create a new .service to be able start, check status, disable the unit independently.

For mousepad, keywords are most likely "XDG autostart". "No DE" users usually aware what file should be edited for their window managers.

Reply via email to