|
[Unit]
|
|
Description=teacher-tools-api
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
WorkingDirectory=/opt/teacher-tools
|
|
Environment="TEACHER_TOOLS_API_ENV=PROD"
|
|
ExecStart=/opt/teacher-tools/teacher-tools-api
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |