Skip to content

Commit

Permalink
ncm-systemd: ensure unit property is defined
Browse files Browse the repository at this point in the history
Fixes #1787
  • Loading branch information
jouvin committed Dec 11, 2024
1 parent ec20d0d commit 5fc7a31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ncm-systemd/src/main/pan/components/systemd/config.pan
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
${componentconfig}

include 'components/${project.artifactId}/functions';

# Ensure that unit property does not remain undefined
'/software/components/${project.artifactId}/unit' ?= dict();

0 comments on commit 5fc7a31

Please sign in to comment.