systemd: improve unit.
This commit is contained in:
parent
35dc35365b
commit
8f9e1d9b4f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue