Differences
This shows you the differences between two versions of the page.
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 '' | ||
- | |||
- | Eg: | ||
- | |||
- | <code systemd> | ||
- | [Unit] | ||
- | Description=Linux Application Launcher | ||
- | Documentation=https:// | ||
- | After=display-manager.service | ||
- | |||
- | [Service] | ||
- | Type=simple | ||
- | Restart=always | ||
- | RestartSec=1 | ||
- | ExecStart=/ | ||
- | | ||
- | [Install] | ||
- | WantedBy=default.target | ||
- | </ | ||
- | |||
- | Enable and start service | ||
- | <code bash> | ||
- | systemctl --user enable ulauncher.service | ||
- | systemctl --user start ulauncher.service | ||
- | </ |