Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csbase-dev
sgarest-daemon
Commits
db79872b
Commit
db79872b
authored
Dec 22, 2020
by
Felipe Pina
Browse files
Remove script de exemplo
parent
93eddbae
Changes
1
Hide whitespace changes
Inline
Side-by-side
sgad.sh
deleted
100755 → 0
View file @
93eddbae
#!/bin/sh
timestamp
=
$(
date
+%Y%m%d%H%M%S
)
logsdir
=
"logs"
[
!
-e
"
${
logsdir
}
"
]
&&
echo
"mkdir
$logsdir
"
&&
mkdir
"
${
logsdir
}
"
logfile
=
"
${
logsdir
}
/sgad_
${
timestamp
}
.log"
instdir
=
${
SGAD_HOME
:-
/usr/local
}
eval
$(
${
instdir
}
/bin/luarocks path
--bin
)
sgad
"
$@
"
2>&1 |
tee
-a
"
${
logfile
}
"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment