mirror of
https://github.com/YunoHost-Apps/miniflux_ynh.git
synced 2024-09-03 19:45:58 +02:00
Update systemd.service
This commit is contained in:
parent
ed74d97214
commit
1ff617f499
1 changed files with 16 additions and 3 deletions
|
@ -1,13 +1,26 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Miniflux Service
|
Description=Miniflux Feed Reader
|
||||||
Documentation=https://miniflux.app/docs/#database-connection-parameters
|
Documentation=https://miniflux.app/docs/#database-connection-parameters
|
||||||
|
After=network.target postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type=notify
|
||||||
User=__APP__
|
User=__APP__
|
||||||
#Group=__APP__
|
ExecStart=__FINALPATH__/miniflux -c __FINALPATH__/__APP__.conf
|
||||||
ExecStart=__FINALPATH__/miniflux -config-file=__FINALPATH__/__APP__.conf
|
|
||||||
EnvironmentFile=__FINALPATH__/__APP__.conf
|
EnvironmentFile=__FINALPATH__/__APP__.conf
|
||||||
NonBlocking=true
|
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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Reference in a new issue