systemd Ready/Stopping notification

This commit is contained in:
Scott Lamb
2023-10-19 21:34:28 -07:00
parent ee98bf5236
commit 89ee2d0269
5 changed files with 45 additions and 1 deletions

View File

@@ -212,7 +212,8 @@ Environment=TZ=:/etc/localtime
Environment=MOONFIRE_FORMAT=systemd
Environment=MOONFIRE_LOG=info
Environment=RUST_BACKTRACE=1
Type=simple
Type=notify
TimeoutStartSec=300 # large installations take a while to scan the sample file dirs
User=moonfire-nvr
Restart=on-failure
CPUAccounting=true