contrib/sbm-feed.service (760 bytes)
1 # The feed job of sbm-sync: it fetches the feeds of every account with 2 # sfeed_update, looks through bookmarks for feeds, and sends the daily 3 # digests. sbm-feed.timer starts it every 30 minutes. Install: 4 # apt-get install sfeed 5 # install -m 644 contrib/sbm-feed.service contrib/sbm-feed.timer /etc/systemd/system/ 6 # systemctl daemon-reload && systemctl enable --now sbm-feed.timer 7 [Unit] 8 Description=sbm Sync feed job 9 After=network-online.target 10 Wants=network-online.target 11 12 [Service] 13 Type=oneshot 14 User=sbm 15 Group=sbm 16 EnvironmentFile=/etc/sbm-sync.env 17 Environment=SBM_DATA=/var/lib/sbm-sync 18 ExecStart=/usr/local/bin/sbm-sync feed 19 NoNewPrivileges=yes 20 ProtectSystem=strict 21 ProtectHome=yes 22 PrivateTmp=yes 23 PrivateDevices=yes 24 ReadWritePaths=/var/lib/sbm-sync