Package Details: devdocs-git r1033.ddf87bb-2

Git Clone URL: https://aur.archlinux.org/devdocs-git.git (read-only, click to copy)
Package Base: devdocs-git
Description: API Documentation Browser
Upstream URL: http://devdocs.io
Keywords: docs
Licenses: MPL
Provides: devdocs-git
Submitter: jonian
Maintainer: jonian
Last Packager: jonian
Votes: 3
Popularity: 0.000000
First Submitted: 2015-11-15 17:15 (UTC)
Last Updated: 2018-02-27 23:06 (UTC)

Latest Comments

seirl commented on 2020-05-04 08:39 (UTC) (edited on 2020-05-04 08:40 (UTC) by seirl)

This package is currently broken, because Ruby tries to tilde-expand and for some reason systemd removes the $HOME variable from the environment of units run as root.

From root:

[root@]# systemd-run -q -P -- /bin/sh -c 'echo $HOME'

From an user:

myuser% systemd-run -q --user -P -- /bin/sh -c 'echo $HOME'
/home/myuser

So a quickfix is to add this to the service:

Environment=HOME=/root

Although a better fix would be to fix the service so that it runs as a DynamicUser.