mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-27 07:33:18 +02:00
20 lines
390 B
Django/Jinja
20 lines
390 B
Django/Jinja
[Unit]
|
|
Description=Update Tiny Tiny RSS feeds
|
|
After=network.target mysql.service
|
|
|
|
[Service]
|
|
User={{ ttrss_php_user }}
|
|
ExecStart={{ ttrss_php_bin }} {{ ttrss_root_dir }}/web/update_daemon2.php
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
ProtectSystem=full
|
|
ProtectHome=yes
|
|
NoNewPrivileges=yes
|
|
MemoryLimit=256M
|
|
SyslogIdentifier=ttrss_{{ ttrss_id }}
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|