Create a group (#39)

Create a group with the same name and id of the user
This commit is contained in:
Romuald23
2021-11-06 10:51:58 +01:00
committed by GitHub
parent 394689b432
commit bf5f5dfc60
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/sh
DIR_MODE=0700 adduser --system --home /var/lib/@@PACKAGEDIR@@ @@SERVICEUSER@@
DIR_MODE=0700 adduser --system --home --group /var/lib/@@PACKAGEDIR@@ @@SERVICEUSER@@
chmod 700 /var/lib/@@PACKAGEDIR@@
chmod 600 /etc/@@PACKAGEDIR@@/config.env
chmod 600 /etc/@@PACKAGEDIR@@/Rocket.toml