Linked Questions

1
vote
0answers
25 views

How to start and stop the Apple's Swift based productive server (program written by me) on Ubuntu linux? [duplicate]

I am currently developing a chat program where the Server as Ubuntu + Swift and client as JavaScript + WebSocket. Finally I reached the 0.1 version and I need to deploy it for public use. I am ...
18
votes
10answers
11k views

How do I shut down a Linux server after running for 60 minutes?

I have a server that it is normally switched off for security reasons. When I want to work on it I switch it on, execute my tasks, and shut it down again. My tasks usually take no more than 15 minutes....
20
votes
3answers
26k views

How to create a systemd target?

After searching plenty through plenty a post, Youtube video, and "documentation" on the matter of systemd, I'm still at a loss. The link (https://wiki.archlinux.org/index.php/systemd#...
8
votes
3answers
47k views

How to make a service that starts on boot in CentOS?

When I boot my CentOS box, the httpd service starts automatically. How do I make a custom service that does the same thing? I have a program I use for mining, and I don't want to need to run ./miner ...
1
vote
1answer
3k views

systemd service not found

My operating system is Ubuntu Bionic beaver. I have written a systemd serivce unit: /etc/systemd/user# ll total 20 drwxrw-r-x 2 rock64 rock64 4096 Nov 23 15:06 ./ drwxr-xr-x 5 root root 4096 Nov ...
5
votes
1answer
856 views

creating a .deb package and autorun it

I'm using a Raspberry Pi 2 Model B running the latest Raspbian Stretch Lite 2018-11-13. I built a program that communicates with a LoRa chip (SX1276) using SPI, gets some data from a temperature ...
0
votes
2answers
921 views

What is the “proper way” with to create a systemd service on a mounted (not booted) system?

There are lots of instructions out there for creating basic systemd service files, but they all seem (rightfully so) to instruct you to make calls to systemctl daemon-reload and systemctl enable. If ...
-1
votes
1answer
603 views

How to run a Executable file at boot time?

I am using Debian OS I have one executable file (a.out), Now I need to run this file after boot up Immediately. I tried with etc/rc.local. Any suggestion? Thanks.
1
vote
2answers
923 views

Systemd will not start xenstored, xenconsoled, and xendomains

I am running a Gentoo installation and recently moved to systemd and whenever I boot with Xen, I cannot issue any xl commands, getting this error: xc: error: Could not obtain handle on privileged ...
0
votes
1answer
318 views

How to lump together Apache2 Server and xsp2 server in the configuration for auto start when the PC reboots?

We need to lump together Apache2 Server and xsp2 server(or mod-mono-server server) in the configuration for the auto start sample shown below when the PC reboots. Quoting from the article, https://...
0
votes
1answer
79 views

Non-logging REST API: How can I write all HTTP(s) requests and responses to a file?

I have a daemon, call it whatverd, running on TCP port 11111. It is basically an http server, but it does not do any kind of logging or debugging. It only returns query results via JSON in the http(s) ...