Updated service file

This commit is contained in:
Gerben Jan Dijkman 2021-08-21 20:56:47 +02:00
parent b73d9d209c
commit 477f277c62
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[Unit]
Description=Phosh, a shell for mobile phones
Documentation=https://source.puri.sm/Librem5/phosh
Documentation=https://gitlab.gnome.org/World/Phosh/phosh
# Make sure we are started after logins are permitted.
After=systemd-user-sessions.service
@ -25,12 +25,16 @@ Before=graphical.target
ConditionPathExists=/dev/tty0
[Service]
Environment=LANG=C.UTF-8
Environment=XDG_CURRENT_DESKTOP=GNOME:Phosh
Environment=XDG_SESSION_DESKTOP=phosh
Environment=XDG_SESSION_TYPE=wayland
ExecStart=/usr/bin/phosh
TimeoutStartSec=30
User=1000
PAMName=login
WorkingDirectory=~
Restart=on-failure
Restart=always
RestartSec=5s
# A virtual terminal is needed.

View File

@ -29,6 +29,7 @@ DEPEND="
media-sound/pulseaudio
>=gui-libs/libhandy-1.1.90
net-misc/networkmanager
gnome-base/gnome-control-center
gnome-base/gnome-desktop
gnome-base/gnome-session
x11-themes/gnome-backgrounds
@ -37,6 +38,7 @@ DEPEND="
x11-wm/phoc
systemd? ( sys-apps/systemd )
sys-power/upower
app-misc/geoclue
"
RDEPEND="${DEPEND}"
BDEPEND="