systemd unit
This commit is contained in:
parent
1af53660d5
commit
a246a8e32c
10
LDM-customizer.service
Normal file
10
LDM-customizer.service
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=LightDM wallpaper
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/home/linux/Documents/Projects/bin/LDM-Wallpaper
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -4,5 +4,5 @@ A script that changes your Light Display Manager's background image.
|
||||||
|
|
||||||
## Useage
|
## Useage
|
||||||
|
|
||||||
You can create a systemd service for the script or edit `/etc/systemd/system/lightdm.service` by making it execute the `LDM-Wallpaper.sh` (e.g. using `ExecStartPost`). If you use plymouth, edit the `/usr/lib/systemd/system/lightdm-plymouth.service` file instead.
|
You can copy the systemd unit file to `/usr/lib/systemd/system` then run `systemd enable LDM-customizer.service`
|
||||||
Remember to change the paths used in the script.
|
Remember to change the paths used in the script.
|
||||||
|
|
Loading…
Reference in a new issue