[fix] Ensure that the service yunohost-api is always running

This commit is contained in:
Jérôme Lebleu 2015-10-02 19:04:15 +02:00
parent 4e3968fd96
commit f0f060345b

View file

@ -6,6 +6,8 @@ After=network.target
Type=simple Type=simple
ExecStart=/usr/bin/yunohost-api ExecStart=/usr/bin/yunohost-api
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=1
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target