innercontext/systemd/innercontext-node.service
Piotr Oleszczyk 5d69a976c4
Some checks failed
CI / Frontend Type Checking & Linting (push) Failing after 0s
CI / Backend Tests (push) Has been skipped
CI / Backend Linting & Type Checking (push) Failing after 16s
chore(infra): align systemd units and Forgejo runners
Point services to /opt/innercontext/current release paths, remove stale phase completion docs, and switch Forgejo workflows to run on the lxc runner label.
2026-03-07 01:21:01 +01:00

18 lines
455 B
Desktop File

[Unit]
Description=innercontext SvelteKit Node frontend
After=network.target
[Service]
Type=simple
User=innercontext
Group=innercontext
WorkingDirectory=/opt/innercontext/current/frontend
Environment=PORT=3000
Environment=HOST=127.0.0.1
EnvironmentFile=/opt/innercontext/current/frontend/.env.production
ExecStart=/usr/local/bin/node /opt/innercontext/current/frontend/build/index.js
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target