Adds user to service to insure correct permissions are set, not root.
This commit is contained in:
parent
66cb0405c6
commit
7c2cf4fbeb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user