add automatic restart to icingadb systemd service file

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2024-12-15 23:01:23 +01:00
parent b78b4a2a52
commit 2af4709fd5
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ Type=notify
ExecStart=/usr/sbin/icingadb --config /etc/icingadb/config.yml
User=icingadb
Group=icingadb
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target