[Unit] Description=Custom On-Boot Mounts and Service Restarts After=local-fs.target [Service] Type=oneshot ExecStart=/root/onboot.sh RemainAfterExit=yes [Install] WantedBy=multi-user.target