Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.package
Commits
c98cee00
Commit
c98cee00
authored
Aug 01, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cron service couldn't be installed when use slapos prefix
parent
1e68b17d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
windows/scripts/slapos-cron-config
windows/scripts/slapos-cron-config
+3
-3
No files found.
windows/scripts/slapos-cron-config
View file @
c98cee00
...
...
@@ -766,7 +766,7 @@ install_service() {
fi
if
cygrunsrv
-I
${
cron_service_name
}
-p
/usr/sbin/cron
-e
CYGWIN
=
"
${
cygenv
}
"
\
-a
"-n"
-d
"C
ron daemon
"
-u
"
$username
"
-w
"
$_password
"
-a
"-n"
-d
"C
YGWIN
${
cron_service_name
}
"
-u
"
$username
"
-w
"
$_password
"
then
service
=
"service"
else
...
...
@@ -774,7 +774,7 @@ install_service() {
fi
else
if
cygrunsrv
-I
${
cron_service_name
}
-p
/usr/sbin/cron
-e
CYGWIN
=
"
${
cygenv
}
"
\
-a
"-n"
-d
"C
ron daemon
"
-a
"-n"
-d
"C
YGWIN
${
cron_service_name
}
"
then
service
=
"service"
else
...
...
@@ -821,7 +821,7 @@ install_service() {
elif
[
"
${
service
}
"
=
"job"
]
;
then
echo
"OK. Type '/usr/sbin/cron' to start the cron daemon job."
else
echo
"OK. Type 'cygrunsrv -S
cron
' to start the cron daemon service."
echo
"OK. Type 'cygrunsrv -S
${
cron_service_name
}
' to start the cron daemon service."
echo
" It will restart automatically at each reboot."
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