The Group= settings was ommited and default group of User= was
implicitly used. Now the group set at build time is respected.
GC didn't respect the user/group set at build time at all.
[Service]
Type=simple
ExecStart=@sbin_dir@/kres-cache-gc -c @systemd_work_dir@ -d 1000
-User=knot-resolver
+User=@user@
+Group=@group@
Restart=on-failure
RestartSec=30
StartLimitInterval=400
WorkingDirectory=@systemd_work_dir@
ExecStart=@sbin_dir@/kresd --config=@etc_dir@/kresd.conf
User=@user@
+Group=@group@
TimeoutStopSec=10s
WatchdogSec=10s
Restart=on-abnormal
[Service]
Type=simple
ExecStart=@sbin_dir@/kres-cache-gc -c @systemd_work_dir@ -d 1000
-User=knot-resolver
+User=@user@
+Group=@group@
Restart=on-failure
RestartSec=30
StartLimitInterval=400