feat: add return classification for archive chart, CARD API integration, compliance charts, systemd services
This commit is contained in:
17
systemd/cve-frontend.service
Normal file
17
systemd/cve-frontend.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=CVE Dashboard Frontend (React Dev Server)
|
||||
After=network.target cve-backend.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/home/cve-dashboard/frontend
|
||||
ExecStart=/usr/bin/npm start
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
EnvironmentFile=/home/cve-dashboard/frontend/.env
|
||||
Environment=BROWSER=none
|
||||
StandardOutput=append:/home/cve-dashboard/frontend/frontend.log
|
||||
StandardError=append:/home/cve-dashboard/frontend/frontend.log
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user