mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 22:12:23 +00:00
59f95dc13f
- One-click security that actually applies immediately - Creates systemd override file automatically - Auto-restarts service after 2 seconds - No manual command line steps needed - Shows clear success message about auto-restart - Still provides manual instructions for Docker users
11 lines
186 B
Go
11 lines
186 B
Go
package utils
|
|
|
|
import (
|
|
"os/exec"
|
|
)
|
|
|
|
// RunCommand executes a system command
|
|
func RunCommand(name string, args ...string) error {
|
|
cmd := exec.Command(name, args...)
|
|
return cmd.Run()
|
|
} |