atom-updater

0.3.1 • Public • Published

atom-updater

Install

$ sudo npm install --global atom-updater

Usage

$ atom-updater

Auto Pilot (for systemd)

Create two files: one for the service, and another for a timer to run it.

Service

/etc/systemd/system/atom-updater.service

You may need to adjust the path to atom-updater if you're using nvm or another method of global installing the package.

[Unit]
Description=Atom Updater

[Service]
Type=oneshot
ExecStart=/bin/sh -c "atom-updater"

[Install]
WantedBy=multi-user.target
Timer

/etc/systemd/system/atom-updater.timer

[Unit]
Description=Atom Updater

[Timer]
Persistent=true
OnUnitActiveSec=30m
OnBootSec=30m

[Install]
WantedBy=timers.target

Next, enable the timer service, sit back, and relax as your atom will forever auto-update.

$ sudo systemctl enable atom-updater.timer

/atom-updater/

    Package Sidebar

    Install

    npm i atom-updater

    Weekly Downloads

    13

    Version

    0.3.1

    License

    MIT

    Last publish

    Collaborators

    • mehcode