mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
2020-06-19 11:53:23
This commit is contained in:
@@ -194,7 +194,7 @@ remove_firewall_start(){
|
||||
|
||||
daemon() {
|
||||
local binname="$(basename "${1}")"
|
||||
if type nohup >/dev/null 2>&1; then
|
||||
if type nohup &>/dev/null; then
|
||||
nohup $@ &> ${mbroot}/var/log/${binname}.log &
|
||||
else
|
||||
$@ &> ${mbroot}/var/log/${binname}.log &
|
||||
|
||||
Reference in New Issue
Block a user