{"id":27437478,"url":"https://github.com/keganedwards/distrobox-automatic-updater","last_synced_at":"2025-04-14T20:29:22.941Z","repository":{"id":282438066,"uuid":"859428070","full_name":"keganedwards/distrobox-automatic-updater","owner":"keganedwards","description":"Updates distrobox containers automatically","archived":false,"fork":false,"pushed_at":"2024-09-19T16:49:32.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T16:50:45.222Z","etag":null,"topics":["automatic-updates","distrobox","linux","service"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keganedwards.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-18T16:36:39.000Z","updated_at":"2024-09-19T16:59:55.000Z","dependencies_parsed_at":"2025-03-14T16:50:46.458Z","dependency_job_id":"28847242-618d-4b77-8739-9093e7780168","html_url":"https://github.com/keganedwards/distrobox-automatic-updater","commit_stats":null,"previous_names":["keganedwards/distrobox-automatic-updater"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keganedwards%2Fdistrobox-automatic-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keganedwards%2Fdistrobox-automatic-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keganedwards%2Fdistrobox-automatic-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keganedwards%2Fdistrobox-automatic-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keganedwards","download_url":"https://codeload.github.com/keganedwards/distrobox-automatic-updater/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248954933,"owners_count":21188890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automatic-updates","distrobox","linux","service"],"created_at":"2025-04-14T20:29:22.444Z","updated_at":"2025-04-14T20:29:22.930Z","avatar_url":"https://github.com/keganedwards.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Distrobox Automatic Update Service\n\nThis service automatically runs `distrobox-upgrade --all` once a day to keep all your Distrobox containers up to date.\n\n## Prerequisites\n\n- A Linux system using systemd\n- Distrobox installed and configured\n- sudo privileges\n\n## Installation\n\n1. Create the service file:\n\n   ```bash\n   sudo vim /etc/systemd/system/distrobox-upgrade.service\n   ```\n\n   Copy and paste the following content:\n\n   ```ini\n   [Unit]\n   Description=Distrobox Upgrade Service\n   After=network.target\n\n   [Service]\n   Type=oneshot\n   ExecStart=/usr/bin/distrobox-upgrade --all\n   User=YOUR_USERNAME\n\n   [Install]\n   WantedBy=multi-user.target\n   ```\n\n   Replace `YOUR_USERNAME` with your actual username.\n\n2. Create the timer file:\n\n   ```bash\n   sudo vim /etc/systemd/system/distrobox-upgrade.timer\n   ```\n\n   Copy and paste the following content:\n\n   ```ini\n   [Unit]\n   Description=Run Distrobox Upgrade daily\n\n   [Timer]\n   OnCalendar=daily\n   Persistent=true\n\n   [Install]\n   WantedBy=timers.target\n   ```\n\n3. Reload systemd, enable and start the timer:\n\n   ```bash\n   sudo systemctl daemon-reload\n   sudo systemctl enable distrobox-upgrade.timer\n   sudo systemctl start distrobox-upgrade.timer\n   ```\n\n## Verification\n\nTo verify that the service is set up correctly:\n\n1. Check the status of the timer:\n\n   ```bash\n   sudo systemctl status distrobox-upgrade.timer\n   ```\n\n2. List all timers:\n\n   ```bash\n   sudo systemctl list-timers\n   ```\n\n   You should see `distrobox-upgrade.timer` in the list.\n\n## Customization\n\n- To change the frequency of updates, modify the `OnCalendar` value in the `distrobox-upgrade.timer` file. For example, to run weekly instead of daily, use `OnCalendar=weekly`.\n- To run the upgrade at a specific time, use a value like `OnCalendar=*-*-* 02:00:00` (this would run it at 2 AM every day).\n\n## Troubleshooting\n\n- Check the system logs for any error messages:\n\n  ```bash\n  journalctl -u distrobox-upgrade.service\n  ```\n\n- Ensure that the user specified in the service file has the necessary permissions to run `distrobox-upgrade --all`.\n\n## Uninstallation\n\nTo remove the service:\n\n1. Stop and disable the timer:\n\n   ```bash\n   sudo systemctl stop distrobox-upgrade.timer\n   sudo systemctl disable distrobox-upgrade.timer\n   ```\n\n2. Remove the service and timer files:\n\n   ```bash\n   sudo rm /etc/systemd/system/distrobox-upgrade.service\n   sudo rm /etc/systemd/system/distrobox-upgrade.timer\n   ```\n\n3. Reload systemd:\n\n   ```bash\n   sudo systemctl daemon-reload\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeganedwards%2Fdistrobox-automatic-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeganedwards%2Fdistrobox-automatic-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeganedwards%2Fdistrobox-automatic-updater/lists"}