17 lines
342 B
Django/Jinja
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
|