Skip to content

Commit a68335c

Browse files
committedJan 7, 2024
fix: systemd service jinja templates
1 parent 60b0162 commit a68335c

5 files changed

+5
-5
lines changed
 

‎templates/systemd/libretime-analyzer.service.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Description=LibreTime Media Analyzer Service
33
PartOf=libretime.target
44

55
[Service]
6-
{%- if libretime_systemd_hardening %}
6+
{% if libretime_systemd_hardening -%}
77
NoNewPrivileges=true
88
CapabilityBoundingSet=
99
PrivateDevices=true

‎templates/systemd/libretime-api.service.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Requires=libretime-api.socket
44
PartOf=libretime.target
55

66
[Service]
7-
{%- if libretime_systemd_hardening %}
7+
{% if libretime_systemd_hardening -%}
88
NoNewPrivileges=true
99
CapabilityBoundingSet=
1010
PrivateDevices=true

‎templates/systemd/libretime-liquidsoap.service.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Description=LibreTime Liquidsoap Service
33
PartOf=libretime.target
44

55
[Service]
6-
{%- if libretime_systemd_hardening %}
6+
{% if libretime_systemd_hardening -%}
77
NoNewPrivileges=true
88
CapabilityBoundingSet=
99
PrivateDevices=true

‎templates/systemd/libretime-playout.service.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Wants=libretime-liquidsoap.service
55
After=libretime-liquidsoap.service
66

77
[Service]
8-
{%- if libretime_systemd_hardening %}
8+
{% if libretime_systemd_hardening -%}
99
NoNewPrivileges=true
1010
CapabilityBoundingSet=
1111
PrivateDevices=true

‎templates/systemd/libretime-worker.service.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Description=LibreTime Worker Service
33
PartOf=libretime.target
44

55
[Service]
6-
{%- if libretime_systemd_hardening %}
6+
{% if libretime_systemd_hardening -%}
77
NoNewPrivileges=true
88
CapabilityBoundingSet=
99
PrivateDevices=true

0 commit comments

Comments
 (0)
Please sign in to comment.