myai / nextclaw.service
wbteve's picture
Create nextclaw.service
8c84234 verified
raw
history blame contribute delete
304 Bytes
#!/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
}