Skip to content

joelstephen97/shell-automation-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

shell-automation-linux

  1. Useful for personal automation on maybe useful for automation on Linux based EC2 instances
  2. Rename fields in .sh file according to your usage

STEPS:

If you have some arbitrary bash(.sh) file in home/user/somefile/run.sh Then follow these steps to make sure this bash script is always run on startup.

  1. cd into etc/systemd/system/
  2. sudo nano name.service
  3. Reload the systemd daemon to recognize the new service: sudo systemctl daemon-reload
  4. Start Service: sudo systemctl start name
  5. Enable the service to start automatically on system boot: sudo systemctl enable name
  6. Check: sudo systemctl status name

About

Script and information to automate task on Linux and attach to run on launch

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages