Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Systemd Service Config #167

Closed
iamdoubz opened this issue Jul 25, 2023 · 0 comments
Closed

Systemd Service Config #167

iamdoubz opened this issue Jul 25, 2023 · 0 comments

Comments

@iamdoubz
Copy link

Description(required)

  • Template to start gopeed on system up/restart
  • Required dedicated user called gopeed. May substitute whatever user you want to use

App Version(required)

  • v1.3.7

OS Version(required)

  • Ubuntu 20.04.6

Snapshots

  • none

Log

  • not needed

Information

Thanks for a great piece of software! I just wanted to share my systemd config for reference to others. Enjoy!

Requirements

  • systemd
  • dedicated user to run gopeed
  • apache2 (or nginx)
  • download the latest web version or compiled with flutter
[Unit]
Description=gopeed (high speed downloader)
After=syslog.target network.target remote-fs.target nss-lookup.target network-online.target apache2.service
Requires=network-online.target

[Service]
Type=simple
Environment=USER=gopeed
Environment=HOME=/home/gopeed/gopeed
User=gopeed
Group=gopeed
ExecStart=/home/gopeed/gopeed/gopeed
WorkingDirectory=/home/gopeed/gopeed
TimeoutSec=30
RestartSec=2
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=gopeed
Restart=always

### Modify these two values if you keep getting HTTP 500 errors ###
#LimitMEMLOCK=infinity
#LimitNOFILE=65535

### If you want to bind gopeed to a port below 1024 uncomment the two values below ###
#CapabilityBoundingSet=CAP_NET_BIND_SERVICE
#AmbientCapabilities=CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target
@GopeedLab GopeedLab locked and limited conversation to collaborators Jul 26, 2023
@monkeyWie monkeyWie converted this issue into discussion #169 Jul 26, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant