Skip to content

Commit

Permalink
fix: systemd service jinja templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Jan 7, 2024
1 parent 60b0162 commit a68335c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion templates/systemd/libretime-analyzer.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=LibreTime Media Analyzer Service
PartOf=libretime.target

[Service]
{%- if libretime_systemd_hardening %}
{% if libretime_systemd_hardening -%}
NoNewPrivileges=true
CapabilityBoundingSet=
PrivateDevices=true
Expand Down
2 changes: 1 addition & 1 deletion templates/systemd/libretime-api.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Requires=libretime-api.socket
PartOf=libretime.target

[Service]
{%- if libretime_systemd_hardening %}
{% if libretime_systemd_hardening -%}
NoNewPrivileges=true
CapabilityBoundingSet=
PrivateDevices=true
Expand Down
2 changes: 1 addition & 1 deletion templates/systemd/libretime-liquidsoap.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=LibreTime Liquidsoap Service
PartOf=libretime.target

[Service]
{%- if libretime_systemd_hardening %}
{% if libretime_systemd_hardening -%}
NoNewPrivileges=true
CapabilityBoundingSet=
PrivateDevices=true
Expand Down
2 changes: 1 addition & 1 deletion templates/systemd/libretime-playout.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Wants=libretime-liquidsoap.service
After=libretime-liquidsoap.service

[Service]
{%- if libretime_systemd_hardening %}
{% if libretime_systemd_hardening -%}
NoNewPrivileges=true
CapabilityBoundingSet=
PrivateDevices=true
Expand Down
2 changes: 1 addition & 1 deletion templates/systemd/libretime-worker.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=LibreTime Worker Service
PartOf=libretime.target

[Service]
{%- if libretime_systemd_hardening %}
{% if libretime_systemd_hardening -%}
NoNewPrivileges=true
CapabilityBoundingSet=
PrivateDevices=true
Expand Down

0 comments on commit a68335c

Please sign in to comment.