mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
4803879f5c
- use 'systemctl' instead of 'service'
16 lines
313 B
Desktop File
16 lines
313 B
Desktop File
[Unit]
|
|
Description=Duniter node
|
|
After=network.target
|
|
|
|
[Service]
|
|
Environment="DUNITER_WEB=web"
|
|
Group=root
|
|
User=root
|
|
Type=forking
|
|
ExecStart=/usr/bin/duniter ${DUNITER_WEB}start
|
|
ExecReload=/usr/bin/duniter ${DUNITER_WEB}restart
|
|
ExecStop=/usr/bin/duniter stop
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|