diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-08-10 12:38:38 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-08-10 12:38:38 +0200 |
commit | 1fb52f0fc34e46d3a140d75f21189a3e031e3104 (patch) | |
tree | 96597427f9f24628515dc06464bc52a162df3d67 | |
parent | d37997eca0e64f76bd59a7b3ff139b5ae51f1263 (diff) | |
download | ayatana-indicator-power-1fb52f0fc34e46d3a140d75f21189a3e031e3104.tar.gz ayatana-indicator-power-1fb52f0fc34e46d3a140d75f21189a3e031e3104.tar.bz2 ayatana-indicator-power-1fb52f0fc34e46d3a140d75f21189a3e031e3104.zip |
Drop all references to upstart.
-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 |