Update examples
This commit is contained in:
18
docs/systemd/konduit-server.service
Normal file
18
docs/systemd/konduit-server.service
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Konduit Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/konduit
|
||||
ExecStart=/opt/konduit/konduit-server -c /opt/konduit/server.toml
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
# Optional hardening
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user