Add systemd configure option. Closes #921.

This commit is contained in:
sledgehammer999 2015-04-05 15:12:36 +03:00
commit 6b3555bd90
3 changed files with 53 additions and 0 deletions

View file

@ -31,6 +31,13 @@ INSTALLS += man
DIST_PATH = ../dist/unix
# Systemd Service file
nogui:systemd {
systemdService.files = $$DIST_PATH/systemd/qbittorrent-nox.service
systemdService.path = $$PREFIX/lib/systemd/system/
INSTALLS += systemdService
}
# Menu Icon
!nogui {
menuicon.files = icons/qBittorrent.desktop