From 869354fd73d8f4c9d698bac048cc9f3b9233061e Mon Sep 17 00:00:00 2001 From: Jay Date: Mon, 14 Jun 2021 13:35:12 +0800 Subject: [PATCH] [feat] add service file --- contrib/systemd/deploy.serice | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 contrib/systemd/deploy.serice diff --git a/contrib/systemd/deploy.serice b/contrib/systemd/deploy.serice new file mode 100644 index 0000000..5b8fe64 --- /dev/null +++ b/contrib/systemd/deploy.serice @@ -0,0 +1,11 @@ +[Unit] +Description=Auto Deploy Service + +[Service] +Type=sample +WorkingDirectory=/etc/auto-deploy-service +ExecStart=/usr/local/bin/deploy +Restart=always + +[Install] +WantedBy=multi-user.target