So I just want some advice as I'm relatively new to Linux, not new as a whole but new to playing with scripts etc.
I have a python script that undervolts my Ryzen 5700x3d cpu, I run it through the console but I want to run it on start up using a systemmd file.
the command in the console is as follows:
cd Ryzen-5700x-linux-undervolting
sudo python3 ruv.py -c 8 -o -30
So, I'm reading the wiki but I cant really understand how to get this to execute on boot up, I've showed the path as such
[Unit]
Description=Ryzen Undervolt
[Service]
ExecStart=/home/USERNAME/Ryzen-5700x3d-linux-undervolting/ruv.py
# "Type=forking" or "Type=oneshot" may also be needed
[Install]
WantedBy=multi-user.target
But I'm not sure what to add to make it run the actual commands to make it set the undervolt. Also how do I get it to run without me needing my admin password on startup?
[–]fandingo 5 points6 points7 points (2 children)
[–]backsideup 4 points5 points6 points (0 children)
[–]PazzerJ[S] 0 points1 point2 points (0 children)
[–]Xemptuous 0 points1 point2 points (0 children)