Rewrite API in GO #1
@@ -0,0 +1,9 @@
|
|||||||
|
build: clean
|
||||||
|
go build -ldflags="-s -w" -o dist/ .
|
||||||
|
|
||||||
|
test: clean
|
||||||
|
go run .
|
||||||
|
|
||||||
|
clean:
|
||||||
|
go clean
|
||||||
|
rm -f dist/*
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
Description=proxmoxaas-ldap
|
Description=proxmoxaas-ldap
|
||||||
After=network.target
|
After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/<path to dir>/ProxmoxAAS-LDAP/
|
WorkingDirectory=/<path to dir>
|
||||||
ExecStart=/<path to dir>/ProxmoxAAS-LDAP/start.sh
|
ExecStart=/<path to dir>/proxmoxaas-ldap
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
Type=simple
|
Type=simple
|
||||||
Reference in New Issue
Block a user