Template of a custom feed generator service for the Bluesky network in Ruby
1[Unit]
2Description=Bluesky feed server
3After=network.target
4
5[Service]
6Type=simple
7User=alf
8WorkingDirectory=/var/www/bsky_feeds/current
9ExecStart=/usr/bin/ruby bin/firehose
10Environment="RACK_ENV=production"
11TimeoutSec=15
12Restart=on-failure
13RestartSec=1
14StandardOutput=append:/var/www/bsky_feeds/shared/log/firehose.log
15
16[Install]
17WantedBy=multi-user.target