Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

mehcode/atom-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atom-updater

npm

Automatic updates (on Linux) for the Atom text editor.

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.

/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

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

[Unit]
Description=Atom Updater

[Timer]
Persistent=true
OnUnitActiveSec=30min
OnBootSec=30s

[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

About

Automatic updates (on Linux) for the Atom text editor

Resources

License

Stars

Watchers

Forks

Packages

No packages published