[Unit] Description=RAMDISK [Service] ExecStart=/usr/sbin/ramdisk.sh start ExecStop=/usr/sbin/ramdisk.sh stop Restart=on-failure RestartPreventExitStatus=255 RemainAfterExit=yes [Install] WantedBy=multi-user.target