16 lines
364 B
Desktop File
16 lines
364 B
Desktop File
[Unit]
|
|
Description=WebTools (IT-Tools) Frontend Dev Server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=ubuntu
|
|
WorkingDirectory=/home/ubuntu/nanocode/webtools
|
|
Environment=NODE_ENV=development
|
|
ExecStart=/bin/bash -c "cd /home/ubuntu/nanocode/webtools && npx vite --host 0.0.0.0 --port 8894"
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|