mirror of
https://github.com/ultravioletrs/cocos.git
synced 2026-08-07 07:14:50 +00:00
Fix dir structure
Signed-off-by: Drasko Draskovic <drasko.draskovic@gmail.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=Cocos AI agent
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
StandardOutput=file:/var/log/cocos/agent.stdout
|
||||
StandardError=file:/var/log/cocos/agent.stderr
|
||||
|
||||
Environment=NETWORK_INTERFACE=enp0s3
|
||||
Environment=AGENT_GRPC_HOST=10.0.2.15
|
||||
Environment=AGENT_GRPC_PORT=7002
|
||||
Environment=AGENT_LOG_LEVEL=info
|
||||
|
||||
ExecStartPre=ip link set dev $NETWORK_INTERFACE up
|
||||
ExecStartPre=dhclient $NETWORK_INTERFACE
|
||||
ExecStartPre=mkdir -p /var/log/cocos
|
||||
|
||||
ExecStart=/cocos/agent
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user