@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 (java-gcj-compatAUR, jre10AUR, jre6AUR, jre12AUR, server-jreAUR, jdk9-openj9-binAUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, zulu-14-binAUR, amazon-corretto-15AUR, sapmachine-jdk-binAUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk16-microsoft-openjdkAUR, jdk11-msopenjdk-binAUR, jdk8-armAUR, jre17-jetbrainsAUR, liberica-jre-11-binAUR, jre11-jetbrains-imfixAUR, java-openjdk-loom-ea-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre13-openjdkAUR, jre14-openjdkAUR, amazon-corretto-18AUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, bishengjdk-17AUR, bishengjre-17AUR, jdk-armAUR, jdk11-openj9-binAUR, jdk-openj9-binAUR, jre-jbr-xdgAUR, 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, jre15-openjdkAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre19-openjdkAUR, jdk11-microsoft-openjdkAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, zulu-jre-fx-binAUR, jre17-jetbrains-imfixAUR, jdk11-openjdk-dcevmAUR, jre12-openjdkAUR, jdk8-dragonwell-extendedAUR, jdk-jetbrainsAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk8-aarch64AUR, jre17AUR, jre8-adoptopenjdkAUR, amazon-corretto-20-binAUR, zulu-15-binAUR, jdk21-jetbrains-binAUR, jre21-jetbrains-imfixAUR, jdk17-openj9-binAUR, jdk20-openj9-binAUR, jre-openjdk-xdgAUR, jdk-microsoft-openjdkAUR, jdk17-microsoft-openjdkAUR, zulu-13-binAUR, java-openjdk-binAUR, zulu-jdk-fx-binAUR, amazon-corretto-11AUR, amazon-corretto-8AUR, zulu-11-binAUR, zulu-21-binAUR, amazon-corretto-21-binAUR, amazon-corretto-17AUR, zulu-8-binAUR, zulu-17-binAUR, liberica-jdk-8-full-binAUR, liberica-jdk-full-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-temurinAUR, jreAUR, jre-ltsAUR, jdk17-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk11-temurinAUR, jdk17-temurinAUR, jdk-temurinAUR, liberica-jdk-11-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-17-full-binAUR, jdk21-graalvm-binAUR, jre-jetbrainsAUR, mandrel-binAUR, jre11AUR, jre8AUR, jdk8AUR, jdk17-zulu-prime-binAUR, jdk8-openj9-binAUR, jdk17-jetbrains-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jre-openjdk, jre11-openjdk, jre17-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.