smeserver-tt-rss/root/usr/lib/systemd/system/ttrss.service

13 lines
356 B
SYSTEMD
Raw Normal View History

[Unit]
Description=ttrss backend
After=network.target mariadb.service mysql.init.service
[Service]
ExecStartPre=/sbin/e-smith/service-status ttrss
ExecStartPre=/sbin/e-smith/mysql-init-start tt-rss
ExecStart=/bin/su -s /bin/bash www -c "/usr/bin/php74 /usr/share/tt-rss/update_daemon2.php --log /var/log/tt-rss.log"
[Install]
WantedBy=sme-server.target