From 2ddd98d48539ec2ef29041e63cede096b700249c Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 14 Oct 2024 06:07:56 -0400 Subject: [PATCH] cleanup session ticket key units --- systemd/system/nginx-create-session-ticket-keys.service | 4 +--- systemd/system/nginx-rotate-session-ticket-keys.service | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/systemd/system/nginx-create-session-ticket-keys.service b/systemd/system/nginx-create-session-ticket-keys.service index 2dfb16a..4281859 100644 --- a/systemd/system/nginx-create-session-ticket-keys.service +++ b/systemd/system/nginx-create-session-ticket-keys.service @@ -3,10 +3,8 @@ Description=Create nginx TLS session ticket keys Before=nginx.service [Service] -Type=oneshot -User=root -Group=root ExecStart=/usr/local/bin/nginx-create-session-ticket-keys +Type=oneshot UMask=0077 [Install] diff --git a/systemd/system/nginx-rotate-session-ticket-keys.service b/systemd/system/nginx-rotate-session-ticket-keys.service index 19064c8..906d0ea 100644 --- a/systemd/system/nginx-rotate-session-ticket-keys.service +++ b/systemd/system/nginx-rotate-session-ticket-keys.service @@ -3,8 +3,6 @@ Description=Rotate nginx TLS session ticket keys After=nginx.service nginx-create-session-ticket-keys.service [Service] -Type=oneshot -User=root -Group=root ExecStart=/usr/local/bin/nginx-rotate-session-ticket-keys +Type=oneshot UMask=0077