Skip to content

Commit

Permalink
Fixes systemd templates path
Browse files Browse the repository at this point in the history
  • Loading branch information
perdy committed Feb 28, 2018
1 parent e3c2400 commit 3c3b639
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ def create_systemd_services(config):
:param config: Config.
"""
if config['common']['systemd']:
j2_env = jinja2.Environment(loader=jinja2.FileSystemLoader(os.path.join(PATH, 'templates', 'lib')))
j2_env = jinja2.Environment(
loader=jinja2.FileSystemLoader(os.path.join(PATH, 'templates', 'config', 'systemd')))

for template in os.listdir(os.path.join(PATH, 'templates', 'config', 'systemd')):
service_name = os.path.splitext(template)[0]
Expand Down

0 comments on commit 3c3b639

Please sign in to comment.