fix(client): keep the daemon alive after logout on linux
This commit is contained in:
1 parent
ae76eab797
commit
3b2dcffcf0
1 file changed
+1
@@ -132,6 +132,7 @@ func startService(home, binary, logFile string) error {
|
||||
if err := writeFile(unitPath(home), []byte(systemdService(binary)), 0o644); err != nil {
|
||||
return err
|
||||
}
|
||||
_ = command("loginctl", "enable-linger")
|
||||
if err := command("systemctl", "--user", "daemon-reload"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user