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

View File

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