/lib/systemd/system/tt-rss.service is in tt-rss 17.1+git20170410+dfsg-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | [Unit]
Description=Update the Tiny Tiny RSS subscribed syndication feeds
After=network.target postgresql.service mysql.service
Wants=postgresql.service mysql.service
[Service]
User=www-data
Group=www-data
WorkingDirectory=/usr/share/tt-rss/www
Type=simple
StandardOutput=null
StandardError=syslog
PIDFile=/var/lib/tt-rss/update_daemon.lock
ExecStart=/usr/share/tt-rss/www/update.php --daemon
[Install]
WantedBy=multi-user.target
|