Package Details: hentaiathome 1.6.1-3

Git Clone URL: https://aur.archlinux.org/hentaiathome.git (read-only, click to copy)
Package Base: hentaiathome
Description: An open-source Peer-2-Peer gallery distribution system which reduces the load on the E-Hentai Galleries
Upstream URL: https://ehwiki.org/wiki/Hentai@Home
Keywords: Hentai Home
Licenses: GPL3
Conflicts: hentaiathome-bin, hentaiathome-cli, hentaiathome-gui
Provides: hentaiathome-bin, hentaiathome-cli, hentaiathome-gui
Submitter: Coelacanthus
Maintainer: ZhangHua
Last Packager: ZhangHua
Votes: 0
Popularity: 0.000000
First Submitted: 2021-04-16 10:31 (UTC)
Last Updated: 2022-08-19 00:54 (UTC)

Dependencies (2)

Required by (0)

Sources (5)

Pinned Comments

ZhangHua commented on 2022-08-19 01:08 (UTC)

For people who uses 1.6.1-1 and before, please note those changes:

  • Data storage is moved from /var/lib/hath to ${HOME}/.cache/hath, also the privilege has been dropped from root to user.
  • Systemd service has been changed, now it is a template service, you should provide which user to run the service, most of the time it should be your current user.
  • Source has been changed, now we will compile the program from source instead download binary directly.

Latest Comments

ZhangHua commented on 2022-08-22 08:59 (UTC) (edited on 2022-08-22 09:06 (UTC) by ZhangHua)

@Coelacanthus The user service will only work when the user logins, this is unacceptable for server use. Also, a user service can't use any resource of system service such as network-online.target. Using system service with a specified non-root user will result that HentaiAtHomeGUI can't launch because people runs the program doesn't have the privilege to read/write its storage. Maybe we should think a better solution. I think the root cause is that this program is not developed as a Client/Service structure, which results that it is hard to have the balance between safety and easy-to-use.

Coelacanthus commented on 2022-08-21 09:39 (UTC)

If you want the user to use user-level instance, install to /usr/lib/systemd/user/hentaiathome.service (NO @), and remove User=%i. So the user can just run systemctl --user start hentaiathome.service. Or if you want, you can install two system and user services so that user can pick their flavor.

ZhangHua commented on 2022-08-19 01:08 (UTC)

For people who uses 1.6.1-1 and before, please note those changes:

  • Data storage is moved from /var/lib/hath to ${HOME}/.cache/hath, also the privilege has been dropped from root to user.
  • Systemd service has been changed, now it is a template service, you should provide which user to run the service, most of the time it should be your current user.
  • Source has been changed, now we will compile the program from source instead download binary directly.