inital commit
This commit is contained in:
13
Server/config/ServiceTemplates/ShellHubAPI.service
Normal file
13
Server/config/ServiceTemplates/ShellHubAPI.service
Normal 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
|
||||
14
Server/config/ServiceTemplates/ShellHubSSH.service
Normal file
14
Server/config/ServiceTemplates/ShellHubSSH.service
Normal 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
|
||||
Reference in New Issue
Block a user