python-escpos/escpos.service

14 lines
356 B
SYSTEMD
Raw Permalink Normal View History

2020-01-07 23:02:26 +01:00
[Unit]
Description=ESC/POS Print Job Submission Web Interface
After=multi-user.target
[Service]
Environment=PYTHONUNBUFFERED=1
ExecStart=/home/escpos/escpos/venv/bin/python3 /home/escpos/escpos/__main__.py
User=escpos
WorkingDirectory=-/home/escpos/escpos
AmbientCapabilities=CAP_NET_BIND_SERVICE
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target