Skip to content

Commit 502a099

Browse files
author
yggverse
committed
fix systemd unit example
1 parent 058150d commit 502a099

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,14 @@ pulsarss --source https://path/to/feed.rss --index index.gmi
4949
# /etc/systemd/system/pulsarss.service
5050
5151
[Unit]
52-
After=network.target
52+
After=network-online.target
53+
Wants=network-online.target
5354
5455
[Service]
5556
Type=simple
5657
User=pulsarss
5758
Group=pulsarss
58-
ExecStart=pulsarss -s https://path/to/feed.rss -i index.gmi
59+
ExecStart=/usr/local/bin/pulsarss -s https://path/to/feed.rss -i index.gmi
5960
6061
[Install]
6162
WantedBy=multi-user.target

0 commit comments

Comments
 (0)