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 ...@@ -11,6 +11,7 @@ Type=notify
# If it doesn't exist, we default to USER # If it doesn't exist, we default to USER
# This works because EnvironmentFile overrides Environment # This works because EnvironmentFile overrides Environment
Environment=BOOTSTATE=USER Environment=BOOTSTATE=USER
Environment=DSME_SOCKFILE=/run/dsme.socket
EnvironmentFile=-/run/systemd/boot-status/bootstate EnvironmentFile=-/run/systemd/boot-status/bootstate
EnvironmentFile=-/var/lib/environment/dsme/*.conf EnvironmentFile=-/var/lib/environment/dsme/*.conf
ExecStart=/usr/sbin/dsme -v 4 -p /usr/lib/dsme/startup.so --systemd ExecStart=/usr/sbin/dsme -v 4 -p /usr/lib/dsme/startup.so --systemd
......
...@@ -8,6 +8,7 @@ Conflicts=shutdown.target ...@@ -8,6 +8,7 @@ Conflicts=shutdown.target
[Service] [Service]
Type=notify Type=notify
Environment=DSME_SOCKFILE=/run/dsme.socket
ExecStart=/usr/sbin/mce --systemd ExecStart=/usr/sbin/mce --systemd
TimeoutSec=2 TimeoutSec=2
Restart=always 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