diff options
author | 2010-12-04 00:14:20 +0100 | |
---|---|---|
committer | 2010-12-04 00:26:02 +0100 | |
commit | c05119f5b5871b3ce1f463b83e47fbbf4097adfc (patch) | |
tree | c9bb718b5aec7bbececd18d2cd1d461d7225ac8c /sys-apps/systemd-units/files/services-desktop | |
parent | sys-apps/systemd-units-9999: Remove NetworkManager.service (diff) | |
download | systemd-c05119f5b5871b3ce1f463b83e47fbbf4097adfc.tar.gz systemd-c05119f5b5871b3ce1f463b83e47fbbf4097adfc.tar.bz2 systemd-c05119f5b5871b3ce1f463b83e47fbbf4097adfc.zip |
sys-apps/systemd-units-9999: Rewrite gdm@.service
Inspired by Christian Parpart's work on kdm service files, here is the
one for gdm.
Diffstat (limited to 'sys-apps/systemd-units/files/services-desktop')
-rw-r--r-- | sys-apps/systemd-units/files/services-desktop/gdm.service | 12 | ||||
-rw-r--r-- | sys-apps/systemd-units/files/services-desktop/gdm@.service | 11 |
2 files changed, 11 insertions, 12 deletions
diff --git a/sys-apps/systemd-units/files/services-desktop/gdm.service b/sys-apps/systemd-units/files/services-desktop/gdm.service deleted file mode 100644 index e29643a..0000000 --- a/sys-apps/systemd-units/files/services-desktop/gdm.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Gnome Display Manager -After=hald.service - -[Service] -Type=simple -ExecStart=/usr/bin/gdm -nodaemon -ExecStop=/usr/sbin/gdm-stop - -[Install] -Alias=display-manager.service -WantedBy=graphical.target diff --git a/sys-apps/systemd-units/files/services-desktop/gdm@.service b/sys-apps/systemd-units/files/services-desktop/gdm@.service new file mode 100644 index 0000000..ce9e789 --- /dev/null +++ b/sys-apps/systemd-units/files/services-desktop/gdm@.service @@ -0,0 +1,11 @@ +[Unit] +Description=Gnome Display Manager on %I +Requires=dev-%i.device +After=dev-%i.device systemd-user-sessions.service + +[Service] +ExecStart=/usr/bin/gdm -nodaemon +ExecStop=/usr/sbin/gdm-stop + +[Install] +Alias=graphical.target.wants/gdm@tty7.service |