Skip to content

Commit eecfe8e

Browse files
committed
systemd config now store api wrapper logs
1 parent fab0407 commit eecfe8e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

internal/server/systemd.service

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
[Unit]
22
Description=Proxmox API Wrapper
33
After=network.target
4+
StartLimitIntervalSec=0
45

56
[Service]
67
Type=simple
7-
ExecStart=WRAPPER_HOST=0.0.0.0 pve-api-wrapper
88
Restart=always
9+
RestartSec=1
10+
User=root
11+
ExecStart=/bin/bash -c 'WRAPPER_HOST=0.0.0.0 pve-api-wrapper &>> /var/log/pve-api-wrapper.log'
912

1013
[Install]
1114
WantedBy=multi-user.target

0 commit comments

Comments
 (0)