mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 15:47:32 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
19
roles/unmaintained/ttrss/templates/ttrss-updater.service.j2
Normal file
19
roles/unmaintained/ttrss/templates/ttrss-updater.service.j2
Normal file
@@ -0,0 +1,19 @@
|
||||
[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
|
||||
|
Reference in New Issue
Block a user