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: https://github.com/urfave/cli
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