Commit 5151b07c authored by Florent Revest's avatar Florent Revest

dsme & mce: set DSME_SOCKFILE explicitely to avoid a SIGSEGV on libdsme's dsmesock_default_location

parent 347866a7
......@@ -11,6 +11,7 @@ Type=notify
# If it doesn't exist, we default to USER
# This works because EnvironmentFile overrides Environment
Environment=BOOTSTATE=USER
Environment=DSME_SOCKFILE=/run/dsme.socket
EnvironmentFile=-/run/systemd/boot-status/bootstate
EnvironmentFile=-/var/lib/environment/dsme/*.conf
ExecStart=/usr/sbin/dsme -v 4 -p /usr/lib/dsme/startup.so --systemd
......
......@@ -8,6 +8,7 @@ Conflicts=shutdown.target
[Service]
Type=notify
Environment=DSME_SOCKFILE=/run/dsme.socket
ExecStart=/usr/sbin/mce --systemd
TimeoutSec=2
Restart=always
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment