linux-wallpaperengine: fix ExecStart command
Make sure to properly separate command args. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
d99b4ca5de
commit
365cbc13c4
1 changed files with 6 additions and 5 deletions
|
|
@ -138,11 +138,12 @@ in
|
|||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart =
|
||||
lib.getExe cfg.package
|
||||
+ (lib.optionalString (cfg.assetsPath != null) " --assets-dir ${cfg.assetsPath} ")
|
||||
+ (lib.optionalString (cfg.clamping != null) "--clamping ${cfg.clamping} ")
|
||||
+ (lib.strings.concatStringsSep " " args);
|
||||
ExecStart = lib.concatStringsSep " " (
|
||||
[ (lib.getExe cfg.package) ]
|
||||
++ lib.optional (cfg.assetsPath != null) "--assets-dir ${cfg.assetsPath}"
|
||||
++ lib.optional (cfg.clamping != null) "--clamping ${cfg.clamping}"
|
||||
++ args
|
||||
);
|
||||
Restart = "on-failure";
|
||||
};
|
||||
Install = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue