m32chat/systemd/m32chat.service

19 lines
307 B
SYSTEMD
Raw Permalink Normal View History

2023-10-04 09:06:35 +02:00
[Unit]
Description=Morserino Chat Server
After=syslog.target
After=network.target
After=redis.service
[Service]
RestartSec=2s
Type=simple
2023-10-06 08:06:28 +02:00
User=MYUSER
2023-10-04 09:06:35 +02:00
Group=users
2023-10-06 08:06:28 +02:00
WorkingDirectory=/home/MYUSER
2023-10-04 09:06:35 +02:00
ExecStart=/usr/local/bin/m32chat
Restart=always
2023-10-06 08:06:28 +02:00
#Environment=RUST_LOG=Debug
2023-10-04 09:06:35 +02:00
[Install]
WantedBy=multi-user.target