[Unit]
Description=agentchat
After=network.target

[Service]
Type=simple
User=johan
WorkingDirectory=/home/johan/dev/agentchat
ExecStart=/home/johan/dev/agentchat/agentchat
Restart=on-failure
RestartSec=3
Environment=PORT=7777

[Install]
WantedBy=multi-user.target
