ansible-collection-fediverse/roles/gotosocial/templates/gotosocial.service.j2
2023-10-21 01:48:14 +02:00

17 lines
342 B
Django/Jinja

# This Unit is managed by Ansible #
[Unit]
Description=GoToSocial Server
[Service]
User=${{ gotosocial_user }}
Group=${{ gotosocial_group }}
Type=exec
Restart=on-failure
ExecStart=${{ gotosocial_base_path }}/gotosocial --config-path config.yaml server start
WorkingDirectory=${{ gotosocial_base_path }}
[Install]
WantedBy=default.target