mirror of
https://github.com/javalsai/lidm.git
synced 2026-02-27 03:50:44 +01:00
fix: systemd service install recipe & systemd service restart (#96)
This commit is contained in:
2
Makefile
2
Makefile
@@ -87,7 +87,7 @@ install-service:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
install-service-systemd:
|
install-service-systemd:
|
||||||
install -m644 ./assets/services/systemd.service ${DESTDIR}/usr/local/lib/systemd/system/lidm.service
|
install -Dm644 ./assets/services/systemd.service ${DESTDIR}/usr/local/lib/systemd/system/lidm.service
|
||||||
@printf '\033[1m%s\033[0m\n\n' " don't forget to run 'systemctl enable lidm'"
|
@printf '\033[1m%s\033[0m\n\n' " don't forget to run 'systemctl enable lidm'"
|
||||||
install-service-dinit:
|
install-service-dinit:
|
||||||
install -m644 ./assets/services/dinit ${DESTDIR}/etc/dinit.d/lidm
|
install -m644 ./assets/services/dinit ${DESTDIR}/etc/dinit.d/lidm
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ StandardError=tty
|
|||||||
TTYPath=/dev/tty7
|
TTYPath=/dev/tty7
|
||||||
TTYReset=yes
|
TTYReset=yes
|
||||||
TTYVHangup=yes
|
TTYVHangup=yes
|
||||||
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=display-manager.service
|
Alias=display-manager.service
|
||||||
|
|||||||
Reference in New Issue
Block a user