Skip to content

Commit

Permalink
[dsme] Allow custom modules to be loaded. Contributes to JB#49564.
Browse files Browse the repository at this point in the history
This dsme.service file modification allows to load custom modules by
enlisting them in the systemd environment file.
Custom modules could be loaded both before default sequence (hardcoded
in startup.so or defined in its config file) and after.

Signed-off-by: Bogdan Migunov <bogdanmigunov@yandex.ru>
  • Loading branch information
bmigunov committed Jun 5, 2020
1 parent 7c104ac commit 36e4950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/dsme.service
Expand Up @@ -13,7 +13,7 @@ Type=notify
Environment=BOOTSTATE=USER
EnvironmentFile=-/run/systemd/boot-status/bootstate
EnvironmentFile=-/var/lib/environment/dsme/*.conf
ExecStart=/usr/sbin/dsme -- -p /usr/lib/dsme/startup.so --systemd
ExecStart=/usr/sbin/dsme -- $DSME_MODULES_PRE -p /usr/lib/dsme/startup.so $DSME_MODULES_POST --systemd
Restart=always
RestartSec=1
StartLimitInterval=600
Expand Down

0 comments on commit 36e4950

Please sign in to comment.