diff options
author | Balasankar "Balu" C <balasankarc@autistici.org> | 2021-02-23 08:30:38 +0300 |
---|---|---|
committer | Balasankar "Balu" C <balasankarc@autistici.org> | 2021-03-01 08:36:01 +0300 |
commit | f8a1639beb6cbaf2f63f42ba362be4a4c9294a97 (patch) | |
tree | f6e874556ae99b8b0a09b000d7da900f386280ca /daemon.go | |
parent | 3211946efa0fe3da63944d7a7646706c06f1639a (diff) |
Make Daemon UID and GID uints
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
Diffstat (limited to 'daemon.go')
-rw-r--r-- | daemon.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -268,8 +268,8 @@ func jailDaemon(pagesRoot string, cmd *exec.Cmd) (*jail.Jail, error) { } func daemonize(config *config.Config) error { - uid := uint(config.Daemon.UID) - gid := uint(config.Daemon.GID) + uid := config.Daemon.UID + gid := config.Daemon.GID inPlace := config.Daemon.InplaceChroot pagesRoot := config.General.RootDir |