systemd fix dependency overwrite
This commit is contained in:
		
							parent
							
								
									e6312a2318
								
							
						
					
					
						commit
						fb22a015e5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -47,7 +47,7 @@ for name, unit in node.metadata.get('systemd/units').items(): | |||
| 
 | ||||
|     for attribute in ['needs', 'needed_by', 'triggers', 'triggered_by']: | ||||
|         if attribute in unit: | ||||
|             dependencies[attribute] = unit.pop(attribute) | ||||
|             dependencies.setdefault(attribute, []).extend(unit.pop(attribute)) | ||||
| 
 | ||||
|     files[path] = { | ||||
|         'content': repo.libs.systemd.generate_unitfile(unit), | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue