From 5197df99b9e58ae30ca83e2cc03143beba3c3cf4 Mon Sep 17 00:00:00 2001 From: Misha Zavertkin Date: Fri, 20 Dec 2024 20:40:48 +0700 Subject: [PATCH] Fix yggdrasil-default-config group --- contrib/systemd/yggdrasil-default-config.service | 2 +- contrib/systemd/yggdrasil-default-config.service.debian | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/systemd/yggdrasil-default-config.service b/contrib/systemd/yggdrasil-default-config.service index e9fe45be0..966dd0143 100644 --- a/contrib/systemd/yggdrasil-default-config.service +++ b/contrib/systemd/yggdrasil-default-config.service @@ -7,7 +7,7 @@ After=local-fs.target [Service] Type=oneshot -Group=yggdrasil StandardOutput=file:/etc/yggdrasil.conf ExecStart=/usr/bin/yggdrasil -genconf ExecStartPost=/usr/bin/chmod 0640 /etc/yggdrasil.conf +ExecStartPost=/usr/bin/chgrp yggdrasil /etc/yggdrasil.conf diff --git a/contrib/systemd/yggdrasil-default-config.service.debian b/contrib/systemd/yggdrasil-default-config.service.debian index dc3fdc5af..dcbd7ad66 100644 --- a/contrib/systemd/yggdrasil-default-config.service.debian +++ b/contrib/systemd/yggdrasil-default-config.service.debian @@ -7,7 +7,7 @@ After=local-fs.target [Service] Type=oneshot -Group=yggdrasil ExecStartPre=/usr/bin/mkdir -p /etc/yggdrasil ExecStart=/usr/bin/yggdrasil -genconf > /etc/yggdrasil/yggdrasil.conf ExecStartPost=/usr/bin/chmod -R 0640 /etc/yggdrasil +ExecStartPost=/usr/bin/chgrp yggdrasil /etc/yggdrasil/yggdrasil.conf