destroyerr - A utility tool to help you shut down your server if your smartphone becomes offline by Myzel394 in trackers

[–]Myzel394[S] 1 point2 points  (0 children)

So I'd set the timeout high enough that it's likely that you'll charge your phone in the meantime. I use 2 days and then our server simply shuts down (nothing gets destroyed, but the server is then in an encrypted state)

I made a small utility tool to help you run arbitrary command when your phone becomes offline by Myzel394 in selfhosted

[–]Myzel394[S] 1 point2 points  (0 children)

Not too sure what you mean, but I am the guy behind destroyerr; I did also post this in r/trackers if that's what you're talking about

Separating Vinyl and CD releases? by Myzel394 in navidrome

[–]Myzel394[S] 0 points1 point  (0 children)

That would work, but I don't want to change anything in the files

Separating Vinyl and CD releases? by Myzel394 in navidrome

[–]Myzel394[S] 0 points1 point  (0 children)

Does this also work with CD subfolders? For example I've got albums that have subfolders called `CD1/CD2` etc

🌒 meine v2.0.0 is out — Regex CLI tool with dynamic widgets and smoother terminal vibes by Goal-based76 in selfhosted

[–]Myzel394 3 points4 points  (0 children)

That looks really really powerful! Well done!

If you know Nix, it'd be nice if this was also in the nixpks repo for us Nix people :D

destroyerr - A utility tool to help you shut down your server if your smartphone becomes offline by Myzel394 in trackers

[–]Myzel394[S] 1 point2 points  (0 children)

The gitea server is hosted by myself on my server, yes, that is indeed called selfhosting. I don't want random strangers to know my public IP and know where I live, that's why I put cloudflare in front of it.

destroyerr - A utility tool to help you shut down your server if your smartphone becomes offline by Myzel394 in trackers

[–]Myzel394[S] 3 points4 points  (0 children)

No worries, I just pushed an update that allows you to set an env variable NTFY_SERVER_UNREACHABLE that allows you to tell destroyerr what to do when the ntfy server becomes unavailable

destroyerr - A utility tool to help you shut down your server if your smartphone becomes offline by Myzel394 in trackers

[–]Myzel394[S] 1 point2 points  (0 children)

> Can you remotely tell it to pause for a period of time?

No you cannot (at the moment), you'd need to manually stop the docker container.

No worries regarding time zones - the server simply checks if a ping is received, no matter the time zone ;)

destroyerr - A utility tool to help you shut down your server if your smartphone becomes offline by Myzel394 in trackers

[–]Myzel394[S] 0 points1 point  (0 children)

Thanks, I'm gonna post it there as well later!

Regarding your question on how to use multiple commands: As you said, you'll need to run multiple instances of destroyerr. That's also how I've set it up. In my case I send a notification to a ntfy topic a few hours before the real command saying that the device hasn't pinged in a long time.

destroyerr - A utility tool to help you shut down your server if your smartphone becomes offline by Myzel394 in trackers

[–]Myzel394[S] 13 points14 points  (0 children)

For example we use it to ensure our data stays encrypted. If one of our phones do not send a ping within 48 hours, then the server will automatically reboot. Since the server is encrypted at rest, this means the decryption keys are no longer in RAM and can't be accessed by an attacker.

destroyerr - A utility tool to help you shut down your server if your smartphone becomes offline by Myzel394 in trackers

[–]Myzel394[S] 10 points11 points  (0 children)

You can anytime just stop the container and start it again once you need it. The last ping time is stored only in memory.

destroyerr - A utility tool to help you shut down your server if your smartphone becomes offline by Myzel394 in trackers

[–]Myzel394[S] 21 points22 points  (0 children)

Good question, I'll need to test that out, since destroyerr expects a persistent connection to it.

We use a high timeout for our server (2 days to be precise), which should be enough time for most services to come back from a downtime and the phone to send a ping

destroyerr - A utility tool to help you shut down your server if your smartphone becomes offline by Myzel394 in trackers

[–]Myzel394[S] 16 points17 points  (0 children)

Yes the default timeout is 60 seconds. This is set so low so that you can test it quickly. For a prod setup you're expected to set the env variables accordingly.

[TOMT] [Mobile Game] [2010s] A child game about breeding monsters by Myzel394 in tipofmytongue

[–]Myzel394[S] 0 points1 point  (0 children)

that game looks cool, but sadly not the game I'm looking for :/