20 lines
424 B
Desktop File
20 lines
424 B
Desktop File
[Unit]
|
|
Description=Particle Lab - Three.js Particle Effects Laboratory
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=ubuntu
|
|
WorkingDirectory=/home/ubuntu/nanocode/particle-lab
|
|
Environment=PORT=8902
|
|
Environment=PYTHONUNBUFFERED=1
|
|
ExecStart=/usr/bin/python3 -m http.server 8902
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=particle-lab
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|