-
Notifications
You must be signed in to change notification settings - Fork 89
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
My strfry.service (path to strfry.conf issue) #36
Comments
In the strfry.conf file I did also update the db entry although it seemed to run ok as is. I did put full path to the db. From the instructions: Edit the db = "./strfry-db/" line to: db = "/var/lib/strfry/"
|
Huge hats off to Doug, Mazin and the others that support this project. This really is an elegant nostr relay! |
Thanks! I think the DEPLOYMENT file might be assuming you put the config file in |
even though i put the config file in Edited: |
Easiest fix is to reduce the value Alternatively, you can try raising the |
thanks, problem fixed. |
I read the home page (https://github.com/hoytech/strfry) and the deploy page for installation (https://github.com/hoytech/strfry/blob/master/docs/DEPLOYMENT.md). For me, the inferred methodology, is slightly different between the two pages. So I made a user and installed under a user (which seems to be the indication from the home page) whereas on the deployment page you install as no login.
Anyway, I am running Ubuntu 22.04 and for the life of me I could not get the relay to run as a service only as logging in and executing ./strfry relay from the install directory.
After 4-5 hours of banging my head against the wall I found the problem it was the path to the config file, this is how I got it work work. The user is "strfry" and the packages are installed is his home directory.
sudo nano /etc/systemd/system/strfry.service
The text was updated successfully, but these errors were encountered: