Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TOTP server for technical site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edugain
eduGAIN OT
TOTP server for technical site
Commits
d2c531bc
Commit
d2c531bc
authored
1 year ago
by
Tomasz Wolniewicz
Browse files
Options
Downloads
Patches
Plain Diff
text updates
parent
9f2ec7de
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+9
-1
9 additions, 1 deletion
README.md
with
9 additions
and
1 deletion
README.md
+
9
−
1
View file @
d2c531bc
...
@@ -60,7 +60,9 @@ resolution based on the host machine and standard port 80 for connections.
...
@@ -60,7 +60,9 @@ resolution based on the host machine and standard port 80 for connections.
-
As root run
` docker run -d --name otp_server --network host --rm otp_server:latest `
-
As root run
` docker run -d --name otp_server --network host --rm otp_server:latest `
### Running the dosker image at boot
### Running the dosker image at boot
For systems using systemctl we suggest to install the new service called
For systems using systemctl we suggest to install the new service called
` otp-docker `
to do that create the
` otp-docker.service `
file in
` /usr/lib/systemd/system `
with the
contents as below:
```
```
[Unit]
[Unit]
...
@@ -79,6 +81,12 @@ ExecStop=/usr/bin/docker stop -t 2 otp_server
...
@@ -79,6 +81,12 @@ ExecStop=/usr/bin/docker stop -t 2 otp_server
[Install]
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target
```
```
Next reload the daemon:
` systemctl daemon-reload `
, start and enable the servce:
```
systemctl start otp-docker
systemctl enable otp-docker
```
## Testing
## Testing
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment