18 lines
342 B
Text
18 lines
342 B
Text
|
# 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
|