1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/miniflux_ynh.git synced 2024-09-03 19:45:58 +02:00
miniflux_ynh/conf/systemd.service
Éric Gaspar 833d95b260 v2
2023-04-07 13:22:55 +02:00

26 lines
628 B
Desktop File

[Unit]
Description=Miniflux: feed Reader
Documentation=https://miniflux.app/docs/#database-connection-parameters
After=network.target postgresql.service
[Service]
Type=notify
User=__APP__
ExecStart=__INSTALL_DIR__/miniflux -c __INSTALL_DIR__/__APP__.conf
EnvironmentFile=__INSTALL_DIR__/__APP__.conf
NonBlocking=true
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
[Install]
WantedBy=multi-user.target