27 lines
477 B
Desktop File
27 lines
477 B
Desktop File
[Unit]
|
|
Description=Veza Chat Server Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
WorkingDirectory=/opt/veza/chat-server
|
|
ExecStart=/usr/local/bin/veza-chat-server
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=veza-chat-server
|
|
|
|
# Environment variables
|
|
EnvironmentFile=/etc/veza/chat-server.env
|
|
|
|
# Security
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
|
|
# Resource limits
|
|
LimitNOFILE=65536
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|