diced / dlauncher

An application launcher for Linux that is based on Ulauncher
GNU General Public License v3.0
83 stars 5 forks source link

Proper way to setup systemd service #21

Closed dougg0k closed 1 month ago

dougg0k commented 1 month ago

Hi,

What would be the proper way to setup a .service for systemd, to run dlauncher?

I've tried

[Unit]
Description=Initialize dlauncher

[Service]
Type=Simple
ExecStart=/usr/bin/dlauncher
ExecStop=/usr/bin/pkill dlauncher
RemainAfterExit=yes
KillSignal=SIGINT

[Install]
WantedBy=graphical-session.target

But the service fail with the error thread 'main' panicked at 'you are homeless: NotPresent', src/launcher/util/config.rs:100:38