diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-19 00:39:59 -0700 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-19 00:39:59 -0700 |
| commit | 0a6fa2a6566a6d20b9cd587f1d188869971871c5 (patch) | |
| tree | dd55166f736dbd21ce1d32702ad37982170902e7 /systemd/prismv2-frontend.service | |
| parent | dcb417cbf251a427861b2cbeb50e7f6a9f06f212 (diff) | |
systemd
Diffstat (limited to 'systemd/prismv2-frontend.service')
| -rw-r--r-- | systemd/prismv2-frontend.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/systemd/prismv2-frontend.service b/systemd/prismv2-frontend.service new file mode 100644 index 0000000..8e71997 --- /dev/null +++ b/systemd/prismv2-frontend.service @@ -0,0 +1,17 @@ +[Unit] +Description=Prism v2 Frontend (Next.js) +After=network.target prismv2-backend.service +Wants=prismv2-backend.service + +[Service] +Type=simple +User=tyler +WorkingDirectory=/home/tyler/Work/prism-v2/frontend +Environment=NEXT_PUBLIC_API_BASE_URL=http://127.0.0.1:8001 +Environment=NODE_ENV=development +ExecStart=/usr/bin/npm run dev -- --hostname 127.0.0.1 --port 3001 +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target prismv2.target |
