Files
quality_recticel/recticel-app.service
scheianu ionut a8811b94b7 Major updates: Setup environment, database, permissions and admin access
- Created virtual environment and installed requirements
- Set up MariaDB database with user 'sa' and database 'recticel'
- Created order_for_labels table for printing functionality
- Implemented role-based permissions system with admin role
- Added admin access to print label modules and etichete functionality
- Fixed template routing issues in main_page_etichete.html
- Updated app to run on port 8781 with network access (0.0.0.0)
- Added systemd service file for background deployment
- Created installation documentation
2025-10-07 22:07:06 +03:00

15 lines
359 B
Desktop File

[Unit]
Description=Recticel Quality App
After=network.target mariadb.service
[Service]
Type=simple
User=ske087
WorkingDirectory=/home/ske087/quality_recticel
Environment=PATH=/home/ske087/quality_recticel/recticel/bin
ExecStart=/home/ske087/quality_recticel/recticel/bin/python py_app/run.py
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target