| #!/sbin/openrc-run | |
| description="NextClaw AI assistant service" | |
| command="/usr/local/bin/nextclaw" | |
| command_args="start" | |
| command_background=true | |
| pidfile="/var/run/nextclaw.pid" | |
| start() { | |
| echo "Starting NextClaw..." | |
| ${command} ${command_args} | |
| } | |
| stop() { | |
| echo "Stopping NextClaw..." | |
| nextclaw stop | |
| } |