Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:lxde
slim
slim-1.3.6-systemd-session.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File slim-1.3.6-systemd-session.patch of Package slim
Index: b/app.cpp =================================================================== --- a/app.cpp +++ b/app.cpp @@ -811,8 +811,13 @@ void App::RestartServer() { StopServer(); RemoveLock(); - while (waitpid(-1, NULL, WNOHANG) > 0); /* Collects all dead childrens */ - Run(); + if (force_nodaemon) { + delete LoginPanel; + exit(ERR_EXIT); /* use ERR_EXIT so that systemd's RESTART=on-failure works */ + } else { + while (waitpid(-1, NULL, WNOHANG) > 0); /* Collects all dead childrens */ + Run(); + } } void App::KillAllClients(Bool top) { Index: b/slim.service =================================================================== --- a/slim.service +++ b/slim.service @@ -4,6 +4,7 @@ After=systemd-user-sessions.service [Service] ExecStart=/usr/bin/slim -nodaemon +Restart=on-failure [Install] Alias=display-manager.service
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor