werewolves/werewolves-server/pkg/werewolves.service

20 lines
282 B
SYSTEMD

[Unit]
Description=werewolves
After=network.target
[Service]
Type=simple
User=werewolf
Group=werewolf
WorkingDirectory=/home/werewolf
Environment=RUST_LOG=info
Environment=PORT=3028
ExecStart=/home/werewolf/werewolves-server
Restart=always
[Install]
WantedBy=multi-user.target