ansible-collection-fediverse/roles/gotosocial/templates/gotosocial.service.j2

18 lines
342 B
Text
Raw Normal View History

2023-10-20 23:48:14 +00:00
# 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