Skip to content
Snippets Groups Projects
Commit 44680e17 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

UserService is when uid!=0

parent ebbe7860
Branches
No related tags found
No related merge requests found
......@@ -129,7 +129,7 @@ func createServiceConfig(c *cli.Context) (svcConfig *service.Config) {
svcConfig.Option = service.KeyValue{
"KeepAlive": true,
"RunAtLoad": true,
"UserService": os.Getuid() == 0,
"UserService": os.Getuid() != 0,
}
if user := c.String("user"); user != "" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment