2014年11月20日 02:12于 "Andrei POPESCU" <[email protected]>写道: > > On Mi, 19 nov 14, 19:32:51, Wang Jian wrote: > > > > My use case is a little special. I want to use it to replace > > daemontools-run, to > > run services of normal privilege on the servers, not for this single user. > > Could you please elaborate on this? The recommended way to start > *system* services as another user is via the User= and Group= directives > in the unit files.
Only root can configure this, not convenient for devs. > > A 'systemd --user' instance is rather meant for individual users to run > their own services (e.g. I use it to run imapfilter). But not limited to this. For example, you can run web application server under deployment account. Devs can do whatever they want, in more secure and powerful way. > > Kind regards, > Andrei > -- > http://wiki.debian.org/FAQsFromDebianUser > Offtopic discussions among Debian users and developers: > http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic > http://nuvreauspam.ro/gpg-transition.txt

