Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-12 16:07:49 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-02-12 16:07:49 +0300
commita65d431d9cd8f9db67e8d8a7179c8d314497bc10 (patch)
tree1ac4c497a02fb1edf903f7b62cc6779812a1295b /daemon.go
parent34f19dff7a86564df6afe5fdf34a3ac94cc14b33 (diff)
Display the uid and gid of daemon
Diffstat (limited to 'daemon.go')
-rw-r--r--daemon.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.go b/daemon.go
index 5fc4b651..6fea7f62 100644
--- a/daemon.go
+++ b/daemon.go
@@ -21,7 +21,7 @@ func daemonMain() {
return
}
- fmt.Printf("Starting the daemon as unprivileged user...\n")
+ fmt.Printf("Starting the daemon as unprivileged user (uid: %d, gid: %d)...\n", syscall.Getuid(), syscall.Getgid())
// read the configuration from the pipe "ExtraFiles"
var config appConfig