Hello,
I have dwservice running,
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?
Thanks.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 ===========================================================================
like
systemctl [start|stop|etc] dwservice ???
On Tue, Nov 3, 2020 at 6:57 AM Patrick Dupre pdupre@gmx.com wrote:
Hello,
I have dwservice running,
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?
Thanks.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 =========================================================================== _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
On 03/11/2020 22:56, Patrick Dupre wrote:
Hello,
I have dwservice running,
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?
You are asking about something not included with Fedora, right?
You are asking about software supplied by https://www.dwservice.net/en/, yes?
--- The key to getting good answers is to ask good questions.
On Nov 3, 2020, at 09:57, Patrick Dupre pdupre@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.
-- Jonathan Billings
On Nov 3, 2020, at 09:57, Patrick Dupre pdupre@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
-- Jonathan Billings _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
On 04/11/2020 16:54, Patrick Dupre wrote:
On Nov 3, 2020, at 09:57, Patrick Dupre pdupre@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.
Thanks you very much
On Nov 3, 2020, at 09:57, Patrick Dupre pdupre@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. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
On Nov 4, 2020, at 03:54, Patrick Dupre pdupre@gmx.com wrote:
0::/system.slice/dwagent.service
There you go, it was started by the system unit ‘dwagent.service’. It isn’t a user service or launched inside a user session.
-- Jonathan Billings