Create and open the service file with Nano (or your favorite text editor) and paste the contents into it:
sudo nano /etc/systemd/system/startup-brightness.service
Enable and start the service:
systemctl enable --now startup-brightness.service
Create and open the service file with Nano (or your favorite text editor) and paste the contents into it:
sudo nano /etc/systemd/system/startup-brightness.service
Enable and start the service:
systemctl enable --now startup-brightness.service