hacky-ruadat/rot.service
2024-03-15 09:54:36 +01:00

19 lines
308 B
Desktop File

[Unit]
Description=Rot
[Service]
User=root
Group=root
WorkingDirectory=/home/rowing
Environment="ROCKET_ENV=prod"
Environment="ROCKET_ADDRESS=127.0.0.1"
Environment="ROCKET_PORT=8001"
Environment="RUST_LOG=info"
ExecStart=/home/rowing/rot
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target