Fixing systemd complaint that service configurations are world-inaccessible after install
This commit is contained in:
committed by
Daniel Theophanes
parent
3c356ae54c
commit
5ab104476c
@@ -132,7 +132,7 @@ func (s *systemd) Install() error {
|
||||
return fmt.Errorf("Init already exists: %s", confPath)
|
||||
}
|
||||
|
||||
f, err := os.Create(confPath)
|
||||
f, err := os.OpenFile(confPath, os.O_WRONLY|os.O_CREATE, 0644)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user