Skip to content

How-to run an arbitrary script at startup (with sudo privledges) via SystemD

Notifications You must be signed in to change notification settings

lawrence-berry/systemd-startup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Run a script on boot via SystemD Timer units

Copy the other 2 files into /etc/systemd/system/

Then run:

sudo systemcl mystartupscript.timer start
sudo systemcl mystartupscript.timer enable
sudo systemcl list-timers

Reboot!

About

How-to run an arbitrary script at startup (with sudo privledges) via SystemD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published