RSSingle/res/systemd/rss.service
Dom Rodriguez d3262d89b5
[init](codebase): Initial commit
Total rewrite of singlerss, better and better than before!

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2020-08-18 00:24:10 +01:00

27 lines
595 B
Desktop File

[Unit]
Description=Generate combined RSS feed.
[Service]
Type=oneshot
# Make sure to set user and group
# to your setup.
User=nginx
Group=nobody
# Make sure to customise these to your
# system!
WorkingDirectory=/var/www/html/feed.xml
# And this.
EnvironmentFile=/opt/singlerss/.env
# And this.
ExecStart=/opt/rss/singlerss.py
# These don't work on older systemd versions.
# In that case, you should configure singlerss
# to output to file, as documented in the README,
# and comment these directives out.
StandardInput=null
StandardError=journal
StandardOutput=file:$SINGLERSS_FEED_OUT_PATH