mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Systemd readiness notification
This change implements the systemd readiness notification, using the sd_notify protocol. See https://www.freedesktop.org/software/systemd/man/sd_notify.html.
This commit is contained in:
parent
1d80c12e18
commit
89c1b3b4d8
4 changed files with 51 additions and 5 deletions
|
@ -9,12 +9,13 @@ Description=Miniflux Feed Reader
|
|||
After=network.target postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
EnvironmentFile=/etc/miniflux.conf
|
||||
User=miniflux
|
||||
Type=notify
|
||||
ExecStart=/usr/bin/miniflux
|
||||
Restart=always
|
||||
|
||||
EnvironmentFile=/etc/miniflux.conf
|
||||
User=miniflux
|
||||
|
||||
# https://www.freedesktop.org/software/systemd/man/systemd.exec.html#NoNewPrivileges=
|
||||
NoNewPrivileges=true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue