Compare commits

..

2 Commits

Author SHA1 Message Date
Jay
1544dfc59e [fix] systemd service
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-15 00:20:36 +08:00
Jay
d894b1861e update
All checks were successful
continuous-integration/drone/tag Build is passing
2021-06-15 00:16:56 +08:00
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,7 @@ steps:
from_secret: api-key from_secret: api-key
base_url: https://git.trj.tw base_url: https://git.trj.tw
files: /data/release.tar files: /data/release.tar
title: ${DRONE_TAG}
checksum: checksum:
- md5 - md5
- sha1 - sha1

View File

@ -2,7 +2,8 @@
Description=Auto Deploy Service Description=Auto Deploy Service
[Service] [Service]
Type=sample Type=simple
User=root
WorkingDirectory=/etc/auto-deploy-service WorkingDirectory=/etc/auto-deploy-service
ExecStart=/usr/local/bin/deploy ExecStart=/usr/local/bin/deploy
Restart=always Restart=always