Support HOME for systemd units #442

Merged
merged 2 commits into from Feb 5, 2016

Conversation

Projects
None yet
4 participants
Contributor

sergiusens commented Feb 5, 2016

%h does not work with systemd as it is PID1. From the manpage:

Please note that specifiers "%U", "%h", "%s" are mostly useless when
systemd is running in system mode.

LP: #1466234

Support HOME for systemd units
%h does not work with systemd as it is PID1. From the manpage:

> Please note that specifiers "%U", "%h", "%s" are mostly useless when
> systemd is running in system mode.

LP: #1466234
Member

chipaca commented Feb 5, 2016

👍

Contributor

zyga commented Feb 5, 2016

+1

Contributor

zyga commented Feb 5, 2016

@sergiusens can you please have a look at the broken unit tests. It seems to require some attention.

Contributor

sergiusens commented Feb 5, 2016

@zyga yeah, on it

Contributor

sergiusens commented Feb 5, 2016

As in, running locally now ;-)

Fix the click unit's unit test
Signed-off-by: Sergio Schvezov <sergio.schvezov@ubuntu.com>
Contributor

sergiusens commented Feb 5, 2016

         ▌     ▐            ▜   ▌             ▗ ▌  ▜
     ▌  ▌▛▀▖▝▀▖▜▀  ▞▀▖▞▀▖▌ ▌▐ ▞▀▌ ▛▀▖▞▀▖▞▀▘▞▀▘▄ ▛▀▖▐ ▌ ▌ ▞▀▌▞▀▖ ▌  ▌▙▀▖▞▀▖▛▀▖▞▀▌
     ▐▐▐ ▌ ▌▞▀▌▐ ▖ ▌ ▖▌ ▌▌ ▌▐ ▌ ▌ ▙▄▘▌ ▌▝▀▖▝▀▖▐ ▌ ▌▐ ▚▄▌ ▚▄▌▌ ▌ ▐▐▐ ▌  ▌ ▌▌ ▌▚▄▌
      ▘▘ ▘ ▘▝▀▘ ▀  ▝▀ ▝▀ ▝▀▘ ▘▝▀▘ ▌  ▝▀ ▀▀ ▀▀ ▀▘▀▀  ▘▗▄▘ ▗▄▘▝▀   ▘▘ ▘  ▝▀ ▘ ▘▗▄▘

zyga added a commit that referenced this pull request Feb 5, 2016

@zyga zyga merged commit 06582d6 into snapcore:master Feb 5, 2016

3 checks passed

Integration tests Success 60 tests run, 0 skipped, 0 failed.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage decreased (-0.2%) to 70.156%
Details
Member

kyrofa commented Feb 5, 2016

Isn't this actually LP: #1541898? LP: #1466234 involves apps run as sudo. Appreciated either way 😃 .

Contributor

sergiusens commented Feb 5, 2016

@kyrofa there were many many bugs opened, this one matched somewhat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment