A
Size: a a a
A
BV
🦉
your_project_name.service
определенного вида🦉
SS
your_project_name.service
определенного видаA
SS
A
[Unit]
Description=Some description of your app
After=network.target
[Service]
User=your_user
Group=your_group
LimitNOFILE=65536
WorkingDirectory=/path_to_your_app/
Environment="RUST_LOG=actix_web=info"
ExecStart=/path_to_your_app/your_app_binary
Restart=always
[Install]
WantedBy=multi-user.target
A
sudo cp /path_to_your_git_repository_with_project/target/release/your_app_binary /path_to_your_app/; sudo setcap CAP_NET_BIND_SERVICE=+eip /path_to_your_app/your_app_binary; sudo systemctl daemon-reload; sudo systemctl start your_app_binary.service;
SS
DK
DK
DK
A
DK
DK
DK
В
EG