Ubuntu to CENTOS6.8 command translation
Posted: 2017/09/15 10:20:31
Hi,
I am a Newbie here needing help to translate/replace this ubuntu command:**
sudo tee /etc/systemd/system/manager-server.service
**This is part of the these whole command:**
printf "[Unit]\nAfter=network.target\n\n[Service]\nLimitNOFILE=1048576\nExecStart=/usr/bin/mono /usr/share/manager-server/ManagerServer.exe -port 8080\nRestart=on-failure\nStartLimitInterval=600\n\n[Install]\nWantedBy=multi-user.target" | sudo tee /etc/systemd/system/manager-server.service
**Which when i execute in my SSH Terminal, i get this error**
tee: /etc/systemd/system/manager-server.service: No such file or directory
[Unit]
After=network.target
[Service]
LimitNOFILE=1048576
ExecStart=/usr/bin/mono /usr/share/manager-server/ManagerServer.exe -port 8080
Restart=on-failure
StartLimitInterval=600
[Install]
WantedBy=multi-user.target
**Can you help me fix this command i am struggling with?**
Please relate to this page that i am following: https://www.manager.io/server/installation/ubuntu
Tatong Steele
I am a Newbie here needing help to translate/replace this ubuntu command:**
sudo tee /etc/systemd/system/manager-server.service
**This is part of the these whole command:**
printf "[Unit]\nAfter=network.target\n\n[Service]\nLimitNOFILE=1048576\nExecStart=/usr/bin/mono /usr/share/manager-server/ManagerServer.exe -port 8080\nRestart=on-failure\nStartLimitInterval=600\n\n[Install]\nWantedBy=multi-user.target" | sudo tee /etc/systemd/system/manager-server.service
**Which when i execute in my SSH Terminal, i get this error**
tee: /etc/systemd/system/manager-server.service: No such file or directory
[Unit]
After=network.target
[Service]
LimitNOFILE=1048576
ExecStart=/usr/bin/mono /usr/share/manager-server/ManagerServer.exe -port 8080
Restart=on-failure
StartLimitInterval=600
[Install]
WantedBy=multi-user.target
**Can you help me fix this command i am struggling with?**
Please relate to this page that i am following: https://www.manager.io/server/installation/ubuntu
Tatong Steele