adding gitignore and better service file
This commit is contained in:
1 parent
65e87129a6
commit
5547e8373e
4 files changed
+6
-29
No files matched your search
@@ -4,7 +4,7 @@ Description=alfheimgame.com website service
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
StartLimitIntervalSec=600
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitBurst=5
|
||||
|
||||
[Service]
|
||||
@@ -15,8 +15,8 @@ CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
EnvironmentFile=/etc/environment
|
||||
WorkingDirectory=/home/alfheim/linux_amd64
|
||||
ExecStart=/home/alfheim/go/bin/dlv --listen=:4321 --headless=true --log=true exec /home/alfheim/linux_amd64/alfheim-website -- -production
|
||||
#ExecStart=/home/alfheim/linux_amd64/alfheim-website -production
|
||||
#ExecStart=/home/alfheim/go/bin/dlv --listen=:4321 --headless=true --log=true exec /home/alfheim/linux_amd64/alfheim-website -- -production
|
||||
ExecStart=/home/alfheim/linux_amd64/alfheim-website -production
|
||||
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
Reference in new issue
Block a user