m32chat/systemd/m32chat.service
2023-10-06 08:06:28 +02:00

18 lines
307 B
Desktop File

[Unit]
Description=Morserino Chat Server
After=syslog.target
After=network.target
After=redis.service
[Service]
RestartSec=2s
Type=simple
User=MYUSER
Group=users
WorkingDirectory=/home/MYUSER
ExecStart=/usr/local/bin/m32chat
Restart=always
#Environment=RUST_LOG=Debug
[Install]
WantedBy=multi-user.target