From b25be0eff561da7d84b68c48a412ab380926cdd2 Mon Sep 17 00:00:00 2001 From: yakamok <38737288+yakamok@users.noreply.github.com> Date: Wed, 21 Nov 2018 18:54:38 +0100 Subject: [PATCH] Unit file --- api/yggapi.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 api/yggapi.service diff --git a/api/yggapi.service b/api/yggapi.service new file mode 100644 index 0000000..b460811 --- /dev/null +++ b/api/yggapi.service @@ -0,0 +1,11 @@ +[Unit] +Description=yggapi +After=network.target + +[Service] +User=yakamo +ExecStart=/usr/bin/python /opt/yggapi.py +Restart=always + +[Install] +WantedBy=multi-user.target