Skip to content
Snippets Groups Projects
Unverified Commit f51775ed authored by achill (fossdd)'s avatar achill (fossdd) :gay_pride_flag: Committed by Oliver Smith
Browse files

systemd/systemd-services: remove phosh.service (MR 6150)

phosh.services is superseeded by forking phosh from Alpine to include
systemd-related files

[ci:skip-build]: already built successfully in CI
parent f13a9351
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
# How to add a new service file (5 steps):
pkgname=systemd-services
# 1. bump pkgver
pkgver=43
pkgver=44
pkgrel=0
pkgdesc="Systemd service files"
url="https://postmarketos.org"
......@@ -47,7 +47,6 @@ subpackages="
nftables-systemd:_service
openssh-server-pam-systemd:_service
pd-mapper-systemd:_service
phosh-systemd:_service
plasma-mobile-systemd:_service
powerdevil-systemd:_service
q6voiced-systemd:_service
......@@ -128,7 +127,6 @@ _modemmanager_sources="system/ModemManager.service"
_nftables_sources="system/nftables.service"
_openssh_server_pam_sources="system/sshd.service system/sshdgenkeys.service"
_pd_mapper_sources="system/pd-mapper.service"
_phosh_sources="system/phosh.service"
_plasma_mobile_sources="system/plasma-mobile.service"
_powerdevil_sources="user/plasma-powerdevil.service" # From https://invent.kde.org/plasma/powerdevil/-/blob/master/daemon/plasma-powerdevil.service.in
_q6voiced_sources="system/q6voiced.service"
......@@ -197,7 +195,6 @@ source="$(flatpath \
$_nftables_sources \
$_openssh_server_pam_sources \
$_pd_mapper_sources \
$_phosh_sources \
$_plasma_mobile_sources \
$_powerdevil_sources \
$_q6voiced_sources \
......@@ -241,7 +238,6 @@ _modemmanager_system_presets="ModemManager.service"
_nftables_system_presets="nftables.service"
_openssh_server_pam_system_presets="sshd.service"
_pd_mapper_system_presets="pd-mapper.service"
_phosh_system_presets="phosh.service"
_plasma_mobile_system_presets="plasma-mobile.service"
_q6voiced_system_presets="q6voiced.service"
_qbootctl_system_presets="qbootctl.service"
......@@ -354,7 +350,6 @@ f6fb4c890cbf72e344ca7a22e7f033fb4c32ce9f5edc27c03ccc5c21424d6a0ef871d79e8a89a502
fa445c4a53214524baed4e9c52a5463592a074f88a5a286eacb60d0907c0545f725afde23abd68cf611067add80c2ccb289a381fc5ff6a5f654ea49c81f02fe8 system-sshd.service
c0badea3905c1d53d213fbfe11d25b556a2e484fe77eb50e9f4d42e25b67b56a0804e7d8e1b7731cd280cbb3525b4c60311817609381e2308d9f2dfb7c0d7072 system-sshdgenkeys.service
0bed9a8a719661609ad84d1c6fcdf2fe9213e741682b7ddebad82d9744f137c593788ed522868f10b95b599d81743d07ec3212630a7e99d333261dfa1bf1cc11 system-pd-mapper.service
0025c83b3007d1bcf6de70fd6400f3c845aff575987c87f2228e7ccedc8cf69703cd04abf8b51805f31722bb4b8eea9b4fd9afdfe7fdfe1d4c6c4664273de77c system-phosh.service
e12d8e98e28a795f879aebcceb32a991ee4abcb3bc5ec458aa5378bb52ff86cf39be04bc4a196925f532d623304b3005f561fa5e55d1c87944d718058ec4c0e6 system-plasma-mobile.service
291ac8b09e4904da016727bcf6b08e4f371f84ad46d181c74e7e5b319b73e72500989f9fb964617f84babdec4a91307f8295b008e4c44a0e6eecb6e7bf699aa0 user-plasma-powerdevil.service
4c4c3f1e5e829ff67dd35df59120ab59730ff1f1ca0aab93f16d670132979a99099fad59e6c736908cc19df9172c9bdfe476ec721a1cc28de8c2210da46ce1f1 system-q6voiced.service
......
[Unit]
Description=Phosh, a shell for mobile phones
Documentation=https://gitlab.gnome.org/World/Phosh/phosh
# replaces the getty
Conflicts=getty@tty1.service
After=getty@tty1.service
# Needs all the dependencies of the services it's replacing
# (currently getty@tty1.service):
After=rc-local.service plymouth-quit-wait.service systemd-user-sessions.service
OnFailure=getty@tty1.service
# D-Bus is necessary for contacting logind. Logind is required.
Wants=dbus.socket
After=dbus.socket
# This scope is created by pam_systemd when logging in as the user.
# This directive is a workaround to a systemd bug, where the setup of the
# user session by PAM has some race condition, possibly leading to a failure.
# See README for more details.
After=session-c1.scope
# Since we are part of the graphical session, make sure we are started before
# it is complete.
Before=graphical.target
# Prevent starting on systems without virtual consoles
ConditionPathExists=/dev/tty0
[Service]
Environment=LANG=C.UTF-8
Environment=XDG_CURRENT_DESKTOP=Phosh:GNOME
Environment=XDG_SESSION_DESKTOP=phosh
Environment=XDG_SESSION_TYPE=wayland
ExecStart=capsh --noamb -- -c "exec /usr/bin/phosh-session"
ExecStartPost=+chvt 7
TimeoutStartSec=30
User=10000
PAMName=login
WorkingDirectory=~
Restart=always
RestartSec=5s
# A virtual terminal is needed.
TTYPath=/dev/tty7
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
# Fail to start if not controlling the tty.
StandardInput=tty-fail
StandardOutput=journal
StandardError=journal
# Log this user with utmp, letting it show up with commands 'w' and 'who'.
UtmpIdentifier=tty7
UtmpMode=user
[Install]
WantedBy=graphical.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment