| 1 |
[Unit] |
| 2 |
Description=Miniflux |
| 3 |
Documentation=man:miniflux(1) https://miniflux.app/docs/index.html |
| 4 |
Wants=network.target postgresql.service |
| 5 |
After=network.target postgresql.service |
| 6 |
|
| 7 |
[Service] |
| 8 |
Type=notify |
| 9 |
ExecStart=/usr/bin/miniflux -c /etc/miniflux/miniflux.conf |
| 10 |
Restart=on-failure |
| 11 |
User=miniflux |
| 12 |
Group=miniflux |
| 13 |
WatchdogSec=60s |
| 14 |
WatchdogSignal=SIGKILL |
| 15 |
RuntimeDirectory=miniflux |
| 16 |
AmbientCapabilities=CAP_NET_BIND_SERVICE |
| 17 |
ProtectSystem=strict |
| 18 |
PrivateTmp=yes |
| 19 |
NoNewPrivileges=yes |
| 20 |
RestrictNamespaces=yes |
| 21 |
ProtectHome=yes |
| 22 |
PrivateDevices=yes |
| 23 |
ProtectControlGroups=yes |
| 24 |
ProtectKernelModules=yes |
| 25 |
ProtectKernelTunables=yes |
| 26 |
ProtectHostname=yes |
| 27 |
RestrictRealtime=yes |
| 28 |
ProtectKernelLogs=yes |
| 29 |
ProtectClock=yes |
| 30 |
SystemCallArchitectures=native |
| 31 |
LockPersonality=yes |
| 32 |
MemoryDenyWriteExecute=yes |
| 33 |
|
| 34 |
[Install] |
| 35 |
WantedBy=multi-user.target |