diff options
Diffstat (limited to 'roles/repo_service/files')
-rw-r--r-- | roles/repo_service/files/repo_service.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/repo_service/files/repo_service.service b/roles/repo_service/files/repo_service.service new file mode 100644 index 0000000..15c40ea --- /dev/null +++ b/roles/repo_service/files/repo_service.service @@ -0,0 +1,13 @@ +[Unit] +Description=repository creation service +After=network.target + +[Service] +User=repo_service +Group=repo_service +WorkingDirectory=/var/lib/repo_service/src/backend +ExecStart=/usr/bin/python /var/lib/repo_service/src/backend/repo_service.py +Restart=on-failure + +[Install] +WantedBy=multi-user.target |