systemd help was: Re: Rawhide rc.local fails to start
Frank Murphy
frankly3d at gmail.com
Mon Sep 17 12:39:13 UTC 2012
On 17/09/12 13:21, "Jóhann B. Guðmundsson" wrote:
> On 09/17/2012 09:48 AM, Frank Murphy wrote:
> <snip> ...</snip>
>
> Note that the proper way to do this today is to create and use type
> oneshot unit in /etc/systemd/system directory which you then order as
> you see fit with after or before into the boot process
>
> JBG
Have the following as a one shot but getting "cannot open default display"
set-gb-keymap.service
# fix gb keymap on display start
# Author going a bit cracked.
[Unit]
Description=Fix keymap on disaply start
DefaultDependencies=no
After=local-fs.target sysinit.target display-manager.service
[Service]
Type=oneshot
ExecStart=/usr/bin/setxkbmap -model pc104 -layout gb
[Install]
WantedBy=graphical.target
--
Regards,
Frank
"Jack of all, fubars"
More information about the test
mailing list