@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.
Search Criteria
Package Details: hentaiathome 1.6.1-3
Package Actions
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)
- java-runtime (jre10AUR, jre12AUR, server-jreAUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, sapmachine-jdk-binAUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk16-microsoft-openjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, amazon-corretto-18AUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, jdk-android-studioAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, zulu-embedded-jdkAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre19-openjdkAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jdk11-openjdk-dcevmAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, amazon-corretto-20-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk20-graalvm-ee-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre17AUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-lite-binAUR, mandrel-binAUR, jdk17-openj9-binAUR, jre-ltsAUR, jdk8-temurinAUR, jdk21-graalvm-ee-binAUR, jdk17-graalvm-ee-binAUR, jdk8AUR, jre8AUR, jdk17-zulu-prime-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre17-jetbrainsAUR, jre-jetbrainsAUR, jdk17-jetbrains-binAUR, jre21-jetbrainsAUR, jdk21-jetbrains-binAUR, jre21-jetbrains-gitAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk8-perfAUR, zulu-jdk-fx-binAUR, jdk8-openj9-binAUR, jreAUR, jdkAUR, zulu-jre-fx-binAUR, jdk-temurinAUR, amazon-corretto-22-binAUR, jdk22-graalvm-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, zulu-21-binAUR, zulu-8-binAUR, zulu-11-binAUR, zulu-17-binAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk)
- sqlite-jdbcAUR
Required by (0)
Sources (5)
Latest Comments
ZhangHua commented on 2022-08-22 08:59 (UTC) (edited on 2022-08-22 09:06 (UTC) by ZhangHua)
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.
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:
/var/lib/hath
to ${HOME}/.cache/hath, also the privilege has been dropped from root to user.