[Unit]
Description=SmartWave application service
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=pi
Group=pi
WorkingDirectory=/home/pi/SmartWave
EnvironmentFile=-/etc/default/smartwave
ExecStart=/bin/sh /home/pi/SmartWave/orchestrateur/launch.sh /home/pi/SmartWave/orchestrateur/main.py
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target