Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
development:linux:system:create_service [2021/08/03 13:23]
kalenpw removed
— (current)
Line 1: Line 1:
-====== Create Service ====== 
  
----- 
-Create .service file in ''~/.config/systemd/user'' 
- 
-Eg: 
- 
-<code systemd> 
-[Unit] 
-Description=Linux Application Launcher 
-Documentation=https://ulauncher.io/ 
-After=display-manager.service 
- 
-[Service] 
-Type=simple 
-Restart=always 
-RestartSec=1 
-ExecStart=/usr/bin/ulauncher --hide-window 
-   
-[Install] 
-WantedBy=default.target 
-</code> 
- 
-Enable and start service 
-<code bash> 
-systemctl --user enable ulauncher.service 
-systemctl --user start ulauncher.service 
-</code>