Add PureGym server (#22)

This commit is contained in:
Patrick Stevens
2023-12-28 22:18:39 +00:00
committed by GitHub
parent 56483b6b80
commit 3eec70b88d
14 changed files with 328 additions and 51 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/sh
touch /tmp/puregym_token
chmod 600 /tmp/puregym_token
$PUREGYM auth --user-email "$(cat /run/secrets/puregym_email)" --pin "$(cat /run/secrets/puregym_pin)" >/tmp/puregym_token