mirror of
https://github.com/YGGverse/pulsarss.git
synced 2026-03-31 17:15:29 +00:00
fix systemd unit example
This commit is contained in:
parent
058150d23d
commit
502a099103
1 changed files with 3 additions and 2 deletions
|
|
@ -49,13 +49,14 @@ pulsarss --source https://path/to/feed.rss --index index.gmi
|
||||||
# /etc/systemd/system/pulsarss.service
|
# /etc/systemd/system/pulsarss.service
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
After=network.target
|
After=network-online.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=pulsarss
|
User=pulsarss
|
||||||
Group=pulsarss
|
Group=pulsarss
|
||||||
ExecStart=pulsarss -s https://path/to/feed.rss -i index.gmi
|
ExecStart=/usr/local/bin/pulsarss -s https://path/to/feed.rss -i index.gmi
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue