sytemd magics
This commit is contained in:
parent
7bff7941cd
commit
4e6ad3cd26
3 changed files with 72 additions and 12 deletions
|
|
@ -89,5 +89,5 @@ func (a *App) deployProjectFromMain(_ context.Context, p Project) error {
|
|||
return err
|
||||
}
|
||||
}
|
||||
return runCmd("sudo", "-n", "-u", p.UnixUser, "systemctl", "--user", "restart", p.ServiceName)
|
||||
return runSystemctlUser(p.UnixUser, "restart", p.ServiceName)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue