systemd: improve unit.

This commit is contained in:
Cedric Bail 2013-04-25 19:05:18 +09:00
parent 35dc35365b
commit 8f9e1d9b4f
1 changed files with 3 additions and 3 deletions

View File

@ -4,15 +4,15 @@ Before=end.target
After=xorg.target After=xorg.target
Requires=xorg.target Requires=xorg.target
Requires=dbus.socket Requires=dbus.socket
Requires=pulseaudio.service Wants=pulseaudio.service
Requires=ssh-agent.service Wants=ssh-agent.service
AllowIsolate=true AllowIsolate=true
[Service] [Service]
Type=notify Type=notify
#Environment=PATH=uncomment:to:override:your:PATH #Environment=PATH=uncomment:to:override:your:PATH
Environment=E_START=enlightenment Environment=E_START=enlightenment
ExecStart=/usr/bin/enlightenment ExecStart=/usr/bin/enlightenment -locked
Restart=always Restart=always
RestartPreventExitStatus=0 RestartPreventExitStatus=0
RestartSec=2 RestartSec=2