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
|
||||
Reference in New Issue
Block a user