[Unit] Description=RSS2 Discovery de Feeds (Go) After=network.target postgresql.service Requires=postgresql.service [Service] Type=simple User=rss2 Group=rss2 WorkingDirectory=/opt/rss2 EnvironmentFile=/opt/rss2/.env Environment=DISCOVERY_INTERVAL=900 Environment=DISCOVERY_BATCH=10 Environment=MAX_FEEDS_PER_URL=5 ExecStart=/opt/rss2/bin/discovery Restart=always RestartSec=10 StandardOutput=journal StandardError=journal SyslogIdentifier=rss2-discovery MemoryMax=512M CPUQuota=100% [Install] WantedBy=multi-user.target