11 lines
94 B
Bash
11 lines
94 B
Bash
#!/usr/bin/env bash
|
|
|
|
function run {
|
|
if ! pgrep -f $1 ;
|
|
then
|
|
$@&
|
|
fi
|
|
}
|
|
|
|
run nextcloud
|