gotosocial 

Decided to have the application be a cli:

to start the server:
gotosocial server start

to inspect a running server:
gotosocial server inspect

to do util stuff (checking the database etc)
gotosocial tool [...whatever]

Then I don't have to fanny around including a separate cli tool (like tootctl), it's just one binary to do various things.

Using my fave cli tool for all this: github.com/urfave/cli :party_parrot:

Follow

gotosocial 

@dumpsterqueer right so you'd run it multiple times next to eachother? once for the long-running server and then others ad-hoc for tasks?

gotosocial 

@dumpsterqueer good, at first i was confused with long running programs that expect input on the console (like minecraft servers) which are a pain to run with systemd services

gotosocial 

@f0x ahh no no, nothing like that, don't worry! I hate that shit too

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.