Skip to content

Commit c531f10

Browse files
committed
updated server cargo .toml for deployment
1 parent 9ac0a5f commit c531f10

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

rustmani-server/Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@ maintainer = "Wraithbytes <ops@wraithbytes.io>"
4141
copyright = "2025 Wraithbytes"
4242
extended-description = """
4343
The master server for the Rustmani browser automation cluster.
44-
Exposes an HTTP API to manage browser agents and an AI instruct
45-
engine to drive them via screenshot-based automation.
4644
"""
4745
assets = [
4846
["target/release/rustmani", "usr/bin/rustmani", "755"],
49-
["rustmani.yaml", "etc/rustmani/rustmani.yaml", "644"],
47+
["example.rustmani.yaml", "etc/rustmani/rustmani.yaml", "644"],
48+
["rustmani.service", "lib/systemd/system/rustmani.service", "644"],
5049
]
5150
conf-files = ["/etc/rustmani/rustmani.yaml"]
52-
systemd-units = [{ unit-name = "rustmani" }]
51+
systemd-units = [{ unit-name = "rustmani.service" }]

rustmani-server/rustmani.service

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[Unit]
2+
Description=Rustmani Server - Browser automation master
3+
After=network.target redis.service
4+
5+
[Service]
6+
Type=simple
7+
ExecStart=/usr/bin/rustmani
8+
Environment=RUSTMANI_CONFIG=/etc/rustmani/rustmani.yaml
9+
Restart=on-failure
10+
RestartSec=10s
11+
StandardOutput=journal
12+
StandardError=journal
13+
14+
[Install]
15+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)