Skip to content

Instantly share code, notes, and snippets.

@KevinMX
Created September 17, 2021 01:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KevinMX/899abd13ccb07a2dce8a0e1133ea606f to your computer and use it in GitHub Desktop.
Save KevinMX/899abd13ccb07a2dce8a0e1133ea606f to your computer and use it in GitHub Desktop.
Hentai@Home systemd autostart
[Unit]
Description=Hentai@Home Autostart
After=network-online.target
[Service]
Type=simple
WorkingDirectory=/home/%I/h2h/
ExecStart=java -jar -Xms64m -Xmx768m /home/%I/h2h/HentaiAtHome.jar
#Restart=always
User=%I
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment