DSH-Arch-Setup/systemd/dsh-web.service
Шурупов Илья Викторович cf9443753e Add one-command Arch DSH setup
Package the portable DSH profiles, local plugins, desktop integration, Firefox wrapper, and ownership-aware installer lifecycle. Bundle checksum-pinned OpenVSCode, editor extensions, translation assets, and cloudflared so unreliable upstream artifact downloads cannot break a clean installation.
2026-09-12 19:13:36 +03:00

20 lines
522 B
Desktop File

[Unit]
Description=DeepSeek Harness web backend
After=default.target network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=%h
ExecStartPre=%h/.dsh/free-port-3080.sh
ExecStart=/usr/bin/node %h/.local/bin/dsh web --no-open --port 3080
Restart=on-failure
RestartSec=3
TimeoutStopSec=20
KillMode=mixed
Environment=PATH=%h/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
Environment=NODE_ENV=production
Environment=DSH_HOME=%h/.dsh
[Install]
WantedBy=default.target