create service under /etc/systemd/system

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-12-09 16:49:25 +01:00
parent 3cc98275bd
commit de195c0f79
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020

View File

@ -3,7 +3,7 @@ s3cmd_upload_name: 'default'
s3cmd_upload_directory: ~
s3cmd_upload_script_dir: '/usr/local/bin'
s3cmd_upload_script: '{{ s3cmd_upload_script_dir }}/upload_{{ s3cmd_upload_name }}.sh'
s3cmd_upload_service_path: '/lib/systemd/system'
s3cmd_upload_service_path: '/etc/systemd/system'
s3cmd_upload_service_name: 'upload-{{ s3cmd_upload_name }}'
s3cmd_upload_service_user: root
# It takes a bit to upload files