Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add possibility to not install systemd service files
Some systems might use elogind instead and thus don't need the service
files
  • Loading branch information
PureTryOut committed Feb 10, 2021
1 parent 7116571 commit 2e39206
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
8 changes: 5 additions & 3 deletions src/daemon/daemon.pro
Expand Up @@ -39,6 +39,8 @@ systemd.files = \
systemd/nemo-devicelock.service
systemd.path= /usr/lib/systemd/system

INSTALLS += \
systemd \
target
!no_systemd{
INSTALLS += systemd
}

INSTALLS += target
9 changes: 5 additions & 4 deletions systemd/systemd.pri
@@ -1,4 +1,3 @@

systemd.files = \
$$PWD/nemo-devicelock.socket
systemd.path= /usr/lib/systemd/system
Expand All @@ -7,6 +6,8 @@ policy.files = \
$$PWD/org.nemomobile.devicelock.conf
policy.path = /etc/dbus-1/system.d

INSTALLS += \
policy \
systemd
!no_systemd{
INSTALLS += systemd
}

INSTALLS += policy

0 comments on commit 2e39206

Please sign in to comment.