sudo apt install ruby ruby-bundler ruby-dev build-essential
sudo adduser softwareupdates
sudo su -l softwareupdates
git clone https://github.com/jlund/actually-automatic.git
bundle config set path 'vendor/bundle'
cd actually-automatic && bundle install
cp config.yml.sample config.yml
softwareupdates
) so that the necessary cryptographic keys and Signal-specific configuration files are created in the correct home directory.text-editor-of-your-choice config.yml
Now that the program is configured and installed, it’s important to make sure that everything is working properly before enabling the automatic update checks.
There are two available subcommands that are useful for testing purposes.
./update-notifier.rb show
./update-notifier.rb test --message "This is a test of the software update notification broadcast system. This is only a test."
If these commands both work, then you’re almost done. The final step is to configure your server to periodically check for new iOS updates.
notify
subcommand to verify that it is working too.
./update-notifier.rb notify --ios --macos
--ios
or --macos
flag accordingly.LAST_SEEN
files will be created to store the latest version numbers.LAST_SEEN_*
file.notify
subcommand:
crontab -e
*/45 * * * * cd /home/softwareupdates/actually-automatic && ruby update-notifier.rb notify --ios --macos
signal-cli
, you may also want to add the following lines to the crontab to periodically process incoming messages (e.g. when new people join the group chat where you’re sending notifications) and to clean up attachment downloads:
15 */4 * * * /usr/local/bin/signal-cli -u +18015551234 receive
signal-cli
is using.@daily rm -rf /home/softwareupdates/.local/share/signal-cli/attachments
All set! You can verify that the cron is working by watching the timestamp in the LAST_RUN
file in the repo directory.