ferrero-opentext/Python-Version/scripts/creativex-service.service

16 lines
513 B
Desktop File

[Unit]
Description=Ferrero CreativeX Scoring Service
After=network.target
[Service]
Type=simple
User=daveporter
WorkingDirectory=/opt/ferrero-opentext/Python-Version
ExecStart=/opt/ferrero-opentext/Python-Version/venv/bin/python scripts/creativex_service.py
Restart=always
RestartSec=60
StandardOutput=append:/opt/ferrero-opentext/Python-Version/logs/creativex_service_systemd.log
StandardError=append:/opt/ferrero-opentext/Python-Version/logs/creativex_service_systemd.log
[Install]
WantedBy=multi-user.target