hacky-ruadat/normannen.service

19 lines
320 B
Desktop File

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