Updated
This commit is contained in:
18
crm-frontend.service
Normal file
18
crm-frontend.service
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=CRM Frontend Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/crm/frontend
|
||||
EnvironmentFile=/opt/crm/frontend/.env
|
||||
ExecStart=/opt/crm/frontend/node_modules/.bin/vite
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
MemoryLimit=5G
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user