diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/CMakeLists.txt | 30 | ||||
-rw-r--r-- | data/ayatana-indicator-power.conf.in | 9 | ||||
-rw-r--r-- | data/ayatana-indicator-power.override | 1 |
3 files changed, 0 insertions, 40 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 4061fdc..e15a81e 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -34,39 +34,9 @@ if (${SYSTEMD_FOUND}) # install it install (FILES "${SYSTEMD_USER_FILE}" DESTINATION "${SYSTEMD_USER_DIR}") - - ## - ## Upstart systemd override Job File - ## - - set (UPSTART_SYSTEMD_OVERRIDE_DIR "${CMAKE_INSTALL_FULL_DATADIR}/upstart/systemd-session/upstart") - message (STATUS "${UPSTART_SYSTEMD_OVERRIDE_DIR} is the Upstart override Job File for systemd dir") - - install (FILES "${CMAKE_CURRENT_SOURCE_DIR}/${CMAKE_PROJECT_NAME}.override" - DESTINATION "${UPSTART_SYSTEMD_OVERRIDE_DIR}") endif() ## -## Upstart Job File -## - -# where to install -set (UPSTART_JOB_DIR "${CMAKE_INSTALL_FULL_DATADIR}/upstart/sessions") -message (STATUS "${UPSTART_JOB_DIR} is the Upstart Job File install dir") - -set (UPSTART_JOB_NAME "${CMAKE_PROJECT_NAME}.conf") -set (UPSTART_JOB_FILE "${CMAKE_CURRENT_BINARY_DIR}/${UPSTART_JOB_NAME}") -set (UPSTART_JOB_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${UPSTART_JOB_NAME}.in") - -# build it -set (pkglibexecdir "${CMAKE_INSTALL_FULL_PKGLIBEXECDIR}") -configure_file ("${UPSTART_JOB_FILE_IN}" "${UPSTART_JOB_FILE}") - -# install it -install (FILES "${UPSTART_JOB_FILE}" - DESTINATION "${UPSTART_JOB_DIR}") - -## ## XDG Autostart File ## diff --git a/data/ayatana-indicator-power.conf.in b/data/ayatana-indicator-power.conf.in deleted file mode 100644 index d3a8e33..0000000 --- a/data/ayatana-indicator-power.conf.in +++ /dev/null @@ -1,9 +0,0 @@ -description "Ayatana Indicator Power Service" - -start on ayatana-indicator-services-start -stop on desktop-end or ayatana-indicator-services-end - -respawn -respawn limit 2 10 - -exec $SNAP@pkglibexecdir@/ayatana-indicator-power-service diff --git a/data/ayatana-indicator-power.override b/data/ayatana-indicator-power.override deleted file mode 100644 index 2905494..0000000 --- a/data/ayatana-indicator-power.override +++ /dev/null @@ -1 +0,0 @@ -manual |