Files
diun/doc/install/linux-service.md
2019-08-22 21:22:38 +02:00

534 B

Run as service on Debian based distro

Using systemd

⚠️ Make sure to follow the instructions to install from binary before.

Run the below command in a terminal:

sudo vim /etc/systemd/system/diun.service

Copy the sample diun.service.

Change the user, group, and other required startup values following your needs.

Enable and start Diun at boot:

sudo systemctl enable diun
sudo systemctl start diun

To view logs:

journalctl -fu diun.service