aboutsummaryrefslogtreecommitdiffstats
path: root/roles/ttrss/templates/etc/systemd/system/ttrss.service.j2
blob: 53fef07c551c1655c6ada10b05c2e31b939fe0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Tiny Tiny RSS background feed updates
Wants=gssproxy.service
After=network-online.target nss-lookup.target gssproxy.service
StartLimitIntervalSec=200
StartLimitBurst=5

[Service]
Type=simple
User=apache
Group=apache
Environment=GSS_USE_PROXY=yes
ExecStart=php {{ ttrss_home }}/update_daemon2.php
Restart=on-failure
RestartSec=30

[Install]
WantedBy=multi-user.target