Skip to content

Instantly share code, notes, and snippets.

@qxzg
Last active January 19, 2021 12:52
Show Gist options
  • Select an option

  • Save qxzg/176d4282e10a605eb7edc3db9deb1105 to your computer and use it in GitHub Desktop.

Select an option

Save qxzg/176d4282e10a605eb7edc3db9deb1105 to your computer and use it in GitHub Desktop.
HentaiAtHome systemctl配置文件
[Unit]
Description=H@H Server
Documentation=https://e-hentai.org/hentaiathome.php
Requires=network.target
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/root/hh/
ExecStart=/usr/local/bin/java -jar /root/hh/HentaiAtHome.jar
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment