Skip to content

Bash tool to autoupdate all changes in specific repository on system shutdown.

Notifications You must be signed in to change notification settings

lravenclaw/autoupdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to install

  1. Ensure the script that you want to run at shutdown is executable:
chmod +x autoupdate.sh
  1. Move file pre-shutdown.service to etc/systemd/system
  2. Change exact directory in this .service file
  3. Reload systemd, enable the service so it starts at boot time, then start it up:
sudo systemctl daemon-reload
sudo systemctl enable pre-shutdown.service
sudo systemctl start pre-shutdown.service
  • Check everthing is ok:
sudo systemctl status pre-shutdown.service

About

Bash tool to autoupdate all changes in specific repository on system shutdown.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages