diff --git a/README.md b/README.md index a3e7dee3..a4d6933a 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ Do steps 1 and 2 from other install if you don't have rust installed, then do th ## Systemd In order to have auto-clock-speed start when you restart your computer you must follow these instruction ```sh -# IMPORTANT: Modify the service file to include -# the path to the binary file +# IMPORTANT: Modify the service file (acs.service) in the +# project directory to include the path to the binary file # (usually /home/username/.cargo/bin/acs) ``` diff --git a/acs.service b/acs.service index de7f645d..78d92b2c 100644 --- a/acs.service +++ b/acs.service @@ -2,7 +2,7 @@ Description=Manages Clock Speed [Service] -ExecStart=/home/cameron/.cargo/bin/acs run +ExecStart=/home/[your-user-here]/.cargo/bin/acs run [Install] WantedBy=multi-user.target diff --git a/scripts/service_setup.sh b/scripts/service_setup.sh index dd9a2496..e7855714 100755 --- a/scripts/service_setup.sh +++ b/scripts/service_setup.sh @@ -1,7 +1,7 @@ #!/bin/sh service="acs.service" -sed -i "s/cameron/$USER/" $service +sed -i "s/your-user-here/$USER/" $service cp $service /etc/systemd/system/