Skip to content

Commit

Permalink
Merge pull request #17 from roles-ansible/systemd
Browse files Browse the repository at this point in the history
Add Restart=always to systemd unit
  • Loading branch information
DO1JLR authored Jan 24, 2023
2 parents 02335b4 + d583014 commit 231bbdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions templates/etebase.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Description=Execute the etebase server.
[Service]
WorkingDirectory={{ etebase__user_home }}/etebase_{{ etebase_version_target }}
ExecStart={{ etebase__venv }}/bin/uvicorn etebase_server.asgi:application --uds {{ etebase__socket }}
Restart=always

[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ etebase__repo_api: 'https://api.github.com/repos/etesync/server/tags'
etebase__venv: "{{ etebase__venv_path }}/{{ etebase_version_target }}"

# versionscheck
playbook_version_number: 13 # should be a integer
playbook_version_number: 14 # should be a integer
playbook_version_path: 'role-do1jlr.etebase'

0 comments on commit 231bbdc

Please sign in to comment.