mirror of
https://github.com/roles-ansible/ansible_role_etebase.git
synced 2024-08-16 10:19:52 +02:00
Merge pull request #17 from roles-ansible/systemd
Add Restart=always to systemd unit
This commit is contained in:
commit
231bbdcaa1
2 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ Description=Execute the etebase server.
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory={{ etebase__user_home }}/etebase_{{ etebase_version_target }}
|
WorkingDirectory={{ etebase__user_home }}/etebase_{{ etebase_version_target }}
|
||||||
ExecStart={{ etebase__venv }}/bin/uvicorn etebase_server.asgi:application --uds {{ etebase__socket }}
|
ExecStart={{ etebase__venv }}/bin/uvicorn etebase_server.asgi:application --uds {{ etebase__socket }}
|
||||||
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -4,5 +4,5 @@ etebase__repo_api: 'https://api.github.com/repos/etesync/server/tags'
|
||||||
etebase__venv: "{{ etebase__venv_path }}/{{ etebase_version_target }}"
|
etebase__venv: "{{ etebase__venv_path }}/{{ etebase_version_target }}"
|
||||||
|
|
||||||
# versionscheck
|
# versionscheck
|
||||||
playbook_version_number: 13 # should be a integer
|
playbook_version_number: 14 # should be a integer
|
||||||
playbook_version_path: 'role-do1jlr.etebase'
|
playbook_version_path: 'role-do1jlr.etebase'
|
||||||
|
|
Loading…
Reference in a new issue