Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
80941f84
Commit
80941f84
authored
Jan 16, 2017
by
neilpang
Browse files
minor
parent
cf909db1
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
80941f84
...
@@ -3375,18 +3375,18 @@ installcronjob() {
...
@@ -3375,18 +3375,18 @@ installcronjob() {
fi
fi
if
[
"
$_c_home
"
]
;
then
if
[
"
$_c_home
"
]
;
then
_c_entry
=
"--config-home
\"
$_c_home
\"
"
_c_entry
=
"--config-home
\"
$_c_home
\"
"
fi
fi
if
_exists
uname
&&
uname
-a
|
grep
SunOS
>
/dev/null
;
then
if
_exists
uname
&&
uname
-a
|
grep
SunOS
>
/dev/null
;
then
crontab
-l
|
{
crontab
-l
|
{
cat
cat
echo
"0 0 * * *
$lesh
--cron --home
\"
$LE_WORKING_DIR
\"
$_c_entry
> /dev/null"
echo
"0 0 * * *
$lesh
--cron --home
\"
$LE_WORKING_DIR
\"
$_c_entry
> /dev/null"
}
| crontab
--
}
| crontab
--
else
else
crontab
-l
|
{
crontab
-l
|
{
cat
cat
echo
"0 0 * * *
$lesh
--cron --home
\"
$LE_WORKING_DIR
\"
$_c_entry
> /dev/null"
echo
"0 0 * * *
$lesh
--cron --home
\"
$LE_WORKING_DIR
\"
$_c_entry
> /dev/null"
}
| crontab -
}
| crontab -
fi
fi
fi
fi
...
...
Write
Preview
Markdown
is supported
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