balena-supervisor/scripts/haki.service

16 lines
310 B
SYSTEMD
Raw Normal View History

2013-07-17 15:55:44 +03:00
[Unit]
Description=Haki App Supervisor
Requires=network.target
After=network.target
[Service]
2013-07-20 12:46:57 +03:00
Type=simple
2013-07-20 13:23:32 +03:00
Environment=SHELL=/bin/bash
2013-07-19 12:47:01 +03:00
ExecStart=/opt/ewa-client-bootstrap/supervisor.js
2013-07-17 15:55:44 +03:00
ExecReload=/bin/kill -HUP $MAINPID
2013-07-20 12:46:57 +03:00
StandardOutput=/var/log/haki.log
2013-07-17 15:55:44 +03:00
Restart=on-failure
[Install]
WantedBy=multi-user.target