You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know how to submit a PR, so here are my files for your use for now.
# /etc/systemd/system/fedifetcher.service
[Unit]
Description=FediFetcher Service
After=network.target mastodon-web.service mastodon-sidekiq.service mastodon-streaming@<REPLACE_WITH_YOUR_PORT_NUMBER>.service
[Service]
Type=simple
User=mastodon
# WorkingDirectory is your checked-out FediFetcher repo directory
# I don't like having only case-seperate same paths, so this is mine
WorkingDirectory=/opt/fedifetcher/venv/FediFetcher
# ExecStart must use the python binary created in the venv
ExecStart=/opt/fedifetcher/venv/bin/python3 find_posts.py -c=artifacts/config.json
# /etc/systemd/system/fedifetcher.timer
[Unit]
Description=FediFetcher Timer
[Timer]
# don't start until system has settled (adjust as you need)
OnBootSec=15min
# after the unit has run once, wait a minute, then run again (removes dependency on lockfile, I think)
OnUnitActiveSec=1min
[Install]
WantedBy=timers.target
The text was updated successfully, but these errors were encountered:
I believe your WorkingDirectory and ExecStart directives don't match the rest of the guide. Can you please either adjust these, or (and maybe that is better, given the confusion of upper/lowercase directories) tell me about changes that would be needed for the rest of the guide to bring these inline?
Your system files seem to indicate you are using the python venv. The current guide suggests in step 8 to disable the venv. Should that step be removed?
I don't know how to submit a PR, so here are my files for your use for now.
The text was updated successfully, but these errors were encountered: