Adds user to service to insure correct permissions are set, not root.

This commit is contained in:
Llewellyn van der Merwe 2023-04-15 17:16:18 +02:00
parent 66cb0405c6
commit 7c2cf4fbeb
Signed by: Llewellyn
GPG Key ID: A9201372263741E7
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ Description=Update JCB Power Repositories
ExecStart=/usr/local/bin/jcb-power-updater -d "$target_dir" -q
StandardOutput=file:$log_dir/$log_file
StandardError=inherit
User=$User
EOL
# Create the jcb-power-updater.timer file