[Unit] Description=Signal Twitter Video Bot After=network.target docker.service Requires=docker.service [Service] Type=simple User=YOUR_USER WorkingDirectory=/home/YOUR_USER/signal-bot # The bot's own Signal number (the account it's linked to as a device). Environment=SIGNAL_PHONE_NUMBER=+15551234567 Environment=SIGNAL_SERVICE=127.0.0.1:8080 # Optional: comma-separated numbers allowed to run /cookies (admin command). # Environment=BOT_ADMINS=+15551234567 ExecStart=/home/YOUR_USER/signal-bot/venv/bin/python bot.py Restart=on-failure RestartSec=10 [Install] WantedBy=multi-user.target