19 lines
440 B
Desktop File
19 lines
440 B
Desktop File
# Managed by Ansible
|
|
|
|
[Unit]
|
|
Description=Diun
|
|
Documentation=https://crazymax.dev/diun/
|
|
After=syslog.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
RestartSec=2s
|
|
Type=simple
|
|
User={{ diun_user }}
|
|
Group={{ diun_user }}
|
|
ExecStart={{ diun_binary_path }}/diun serve --config {{ duin_configuration_path }}/{{ duin_configuration_file }} --log-level info
|
|
Restart=always
|
|
Environment=DIUN_DB_PATH={{ diun_home }}/diun.db
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|