Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'optional-disable-systemd' into 'master'
Add possibility to not install systemd service files

See merge request mer-core/nemo-qml-plugin-devicelock!57
  • Loading branch information
pvuorela committed Feb 11, 2021
2 parents 7116571 + 2e39206 commit 3569d10
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 3569d10

Please sign in to comment.