#need to make archiso run 2 commands after its done loading
5 messages · Page 1 of 1 (latest)
/home/<user>/.config/systemd/user/<service-name>.service
[Unit]
Description=description of the service
After=
Wants=
[Service]
Restart=on-failure
Type=oneshot
ExecStart=/path/to/script.sh
[Install]
WantedBy=default.target
if the script stays running (like if it runs the DE) then change Type to simple
then you'll have to enable it
or if it's running as root then do a regular service
A simple Systemd service file online generator. This powerful and intuitive user interface
makes us more efficient when we are creating new services file with all possible settings.