mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-08 18:21:55 +00:00
- 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
No EOL
186 B
Go
11 lines
No EOL
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()
|
|
} |