[Unit] Description=JELOS user autostart script Before=emulationstation.service After=network-base.service graphical.target [Service] Type=oneshot Environment=HOME=/storage ExecStart=-/bin/sh -c ". /etc/profile; exec /bin/sh /usr/bin/autostart" RemainAfterExit=yes [Install] WantedBy=jelos.target