On 04/11/2020 16:54, Patrick Dupre wrote:
> On Nov 3, 2020, at 09:57, Patrick Dupre <pdupre(a)gmx.com>
wrote:
>> ps
>> root 34852 0.0 0.0 217124 3336 ? S Oct29 0:00 /bin/sh
/usr/local/dwagent/native/dwagsvc run
>>
>> How can I stop/restart it?
> Run ‘cat /proc/34852/cgroup’ and you will see the systemd service name in the systemd
cgroup.
>
> If it is in a user-###.slice unit, it was started by a user and not systemd.
0::/system.slice/dwagent.service
Then you want to include --user in the systemctl command and be running as that user.
systemctl --user status dwagent
Using the command status, stop, restart, or start as needed.
---
The key to getting good answers is to ask good questions.