2021-05-21 14:13:08 +02:00
|
|
|
[Unit]
|
2023-05-07 09:15:47 +02:00
|
|
|
Description=Miniflux: Feed Reader
|
2021-05-21 14:13:08 +02:00
|
|
|
Documentation=https://miniflux.app/docs/#database-connection-parameters
|
2021-05-22 08:55:19 +02:00
|
|
|
After=network.target postgresql.service
|
2021-05-21 14:13:08 +02:00
|
|
|
|
|
|
|
[Service]
|
2021-05-22 08:55:19 +02:00
|
|
|
Type=notify
|
2021-05-21 14:13:08 +02:00
|
|
|
User=__APP__
|
2023-04-07 13:22:55 +02:00
|
|
|
ExecStart=__INSTALL_DIR__/miniflux -c __INSTALL_DIR__/__APP__.conf
|
|
|
|
EnvironmentFile=__INSTALL_DIR__/__APP__.conf
|
2021-05-21 14:13:08 +02:00
|
|
|
NonBlocking=true
|
2021-05-22 08:55:19 +02:00
|
|
|
Restart=always
|
|
|
|
NoNewPrivileges=true
|
|
|
|
PrivateDevices=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
ProtectHome=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectSystem=strict
|
|
|
|
RestrictRealtime=true
|
|
|
|
ReadWritePaths=/run
|
|
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
|
|
PrivateTmp=true
|
2021-05-21 14:13:08 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|