Permalink
Please sign in to comment.
Browse files
units: add graphical-session-pre.target user unit (#3848)
This complements graphical-session.target for services which set up the environment (e. g. dbus-update-activation-environment) and need to run before the actual graphical session.
- Loading branch information...
Showing
with
29 additions
and 1 deletion.
- +2 −1 Makefile.am
- +13 −0 man/systemd.special.xml
- +14 −0 units/user/graphical-session-pre.target
| @@ -0,0 +1,14 @@ | ||
| +# This file is part of systemd. | ||
| +# | ||
| +# systemd is free software; you can redistribute it and/or modify it | ||
| +# under the terms of the GNU Lesser General Public License as published by | ||
| +# the Free Software Foundation; either version 2.1 of the License, or | ||
| +# (at your option) any later version. | ||
| + | ||
| +[Unit] | ||
| +Description=Session services which should run early before the graphical session is brought up | ||
| +Documentation=man:systemd.special(7) | ||
| +Requires=basic.target | ||
| +Before=graphical-session.target | ||
| +RefuseManualStart=yes | ||
| +StopWhenUnneeded=yes |
0 comments on commit
98d2d46