Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
7
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f6960606
authored
Nov 07, 2018
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freebsd: rename circle_agent service to agent
parent
3b82074c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
bootstrap-freebsd.sh
+4
-4
bootstrap/freebsd/rc.d/agent
+3
-3
No files found.
bootstrap-freebsd.sh
View file @
f6960606
...
...
@@ -36,12 +36,12 @@ cp -r bootstrap/freebsd/rc.conf.d /etc
cd
/root/agent
if
[
-d
/usr/local/etc/rc.d
]
then
cp bootstrap/freebsd/rc.d/
circle_
agent /usr/local/etc/rc.d
cp bootstrap/freebsd/rc.d/agent /usr/local/etc/rc.d
fi
if
[
!
-f
/etc/rc.conf.d/
circle_
agent
]
if
[
!
-f
/etc/rc.conf.d/agent
]
then
echo
'
circle_agent_enable="YES"'
>
/etc/rc.conf.d/circle_
agent
echo
'
agent_enable="YES"'
>
/etc/rc.conf.d/
agent
fi
service
circle_
agent start
service agent start
bootstrap/freebsd/rc.d/
circle_
agent
→
bootstrap/freebsd/rc.d/agent
View file @
f6960606
...
...
@@ -3,14 +3,14 @@
# $FreeBSD$
#
# PROVIDE:
circle_
agent
# PROVIDE: agent
# REQUIRE: DAEMON NETWORKING
# KEYWORD: shutdown
.
/etc/rc.subr
name
=
"
circle_
agent"
rcvar
=
"
circle_
agent_enable"
name
=
"agent"
rcvar
=
"agent_enable"
pidfile
=
"/var/run/
${
name
}
.pid"
start_cmd
=
"do_start"
stop_cmd
=
"do_stop"
...
...
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