Fix malformed service file
This commit is contained in:
parent
357d931f53
commit
1349352997
|
@ -359,6 +359,7 @@ in {
|
||||||
${serviceName} = {
|
${serviceName} = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "rclone sync service for ${name} at using ${providerName}";
|
Description = "rclone sync service for ${name} at using ${providerName}";
|
||||||
|
After = builtins.concatLists (builtins.attrValues sync.systemdDependencies);
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
@ -381,7 +382,6 @@ in {
|
||||||
|
|
||||||
Install = {
|
Install = {
|
||||||
WantedBy = lib.optional sync.autoStart "${targetName}.target";
|
WantedBy = lib.optional sync.autoStart "${targetName}.target";
|
||||||
After = builtins.concatLists (builtins.attrValues sync.systemdDependencies);
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue