[systemd-devel] Started process not attach to its related service.

Benoit SCHMID Benoit.Schmid at unige.ch
Wed Nov 23 08:08:33 UTC 2016


Hello,

On 11/22/2016 11:46 AM, Holger Kiehl wrote:
> But users do test things under their login environment and expect them
> to run in this environment. So for some applications this is a must.
I fully agree with you.

I am a SAP admin.

As far as SAP is concerned, to manage the service, the procedure is
to issue sidadm user and start commands with different arguments
from this shell user.

I am not saying that it is the best way to do :-)
I am just saying it is the way SAP works on all its Unix OS.
This is why it is convenient to use su even if it has drawbacks.

On the other hand saying stop using su on your start/stop script
is a limitation that I also find too strong.

Anyway thanks for all the ones who provided help and provided alternatives.
I have not yet tested runuser and EnvironmentFile...

Regards,

-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

     Benoit Schmid              Tel: (+41-22) 379-7209

     University of Geneva - Information Technology Division

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 



More information about the systemd-devel mailing list