inital commit

This commit is contained in:
2021-01-16 00:08:06 +01:00
commit 23bfefebf8
10 changed files with 365 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
[Unit]
Description=Shellhub API
Wants=network-online.target
[Service]
Type=simple
Environment=PRIVATE_KEY=/opt/ShellHub/keys/api_private_key
Environment=PUBLIC_KEY=/opt/ShellHub/keys/api_public_key
ExecStart=/opt/ShellHub/ShellHubAPI
Restart=on-failure
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Shellhub SSH
Wants=network-online.target
[Service]
Type=simple
Environment=PRIVATE_KEY=/opt/ShellHub/keys/ssh_private_key
Environment=SHELLHUB_HOSTED=false
Environment=RECORD_URL=127.0.0.1:8080
ExecStart=/opt/ShellHub/ShellHubSSH
Restart=on-failure
[Install]
WantedBy=multi-user.target