syncthing: fix wrong group name in syncthing.init
authorXiang W <redacted>
Tue, 19 Dec 2023 13:20:13 +0000 (13:20 +0000)
committerRosen Penev <redacted>
Tue, 2 Jan 2024 23:25:19 +0000 (15:25 -0800)
commited41a9d8508639c25cbceb9639ee6a08ee467b93
treed315cfe35a8ee6b9823b2a21c438bc547942f467
parentf74b43709a26c44f99529352ee3b1d9631945489
syncthing: fix wrong group name in syncthing.init

The group does not always have the same name as user, and when I try
to run syncthing with nobody I get an error. Since nobody belongs to
the group nogroup, I added some code to find out which group user
belongs to.

Signed-off-by: Xiang W <redacted>
utils/syncthing/Makefile
utils/syncthing/files/syncthing.init
git clone https://git.99rst.org/PROJECT