ansible-role-mastodon/templates/mastodon-search-deploy.service.j2

15 lines
366 B
Text
Raw Normal View History

2022-11-20 19:55:08 +01:00
[Unit]
Description=Mastodon - update Elasticsearch indices
Wants=mastodon-search-deploy.timer
[Service]
Type=oneshot
StandardError=null
StandardOutput=null
WorkingDirectory={{ mastodon_composer_folder }}
2023-07-09 19:08:17 +02:00
ExecStart=/usr/bin/docker-compose -f {{ mastodon_composer_folder }}/docker-compose.yml run --rm web tootctl search deploy
2022-11-20 19:55:08 +01:00
[Install]
WantedBy=multi-user.target