Run an exec as a service

we can use systemd’s service files to make any exectabke run as a service
create a user directory to hold systemd’s user service file , if not already present :
mkdir -p ~/.config/systemd/user/

create a service file in that folder , that runs devilspie2 automatically at startup:
shell cd ~/.config/systemd/user/ echo "blabla" > devilspie2.service xed ~/.config/systemd/user/devilspie2.service
en vervang “blabla” door :
[Unit] Description=Devilspie2 [Service] ExecStart=/usr/bin/devilspie2 [Install] WantedBy=default.target

enable the newly created service , using systemctl
systemctl --user enable devilspie2 # enable for automatic startup

and start it

nota ; systemctl will create symlinks into linux space

blijkbaar wordt dit NIET uitgevoerd