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