wbteve commited on
Commit
8c84234
·
verified ·
1 Parent(s): e3a56a7

Create nextclaw.service

Browse files
Files changed (1) hide show
  1. nextclaw.service +17 -0
nextclaw.service ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/sbin/openrc-run
2
+
3
+ description="NextClaw AI assistant service"
4
+ command="/usr/local/bin/nextclaw"
5
+ command_args="start"
6
+ command_background=true
7
+ pidfile="/var/run/nextclaw.pid"
8
+
9
+ start() {
10
+ echo "Starting NextClaw..."
11
+ ${command} ${command_args}
12
+ }
13
+
14
+ stop() {
15
+ echo "Stopping NextClaw..."
16
+ nextclaw stop
17
+ }