Add role for backend
This commit is contained in:
parent
4a625bf3eb
commit
89120bdaef
5 changed files with 72 additions and 0 deletions
1
playbooks/roles/fic-backend/files/backend
Symbolic link
1
playbooks/roles/fic-backend/files/backend
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../../../backend/backend
|
||||
12
playbooks/roles/fic-backend/files/backend.service
Normal file
12
playbooks/roles/fic-backend/files/backend.service
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=FIC Backend service
|
||||
After=mysql.service
|
||||
|
||||
[Service]
|
||||
User=fic
|
||||
Group=nogroup
|
||||
WorkingDirectory=/home/fic
|
||||
ExecStart=/home/fic/backend -unlockedChallenges -teams ./TEAMS -submission ./submissions
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
1
playbooks/roles/fic-backend/files/static
Symbolic link
1
playbooks/roles/fic-backend/files/static
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../../../admin/static/
|
||||
Reference in a new issue