Linked Questions
15 questions linked to/from Difference between systemd and terminal starting program
592 votes
8 answers
355k views
Difference between Login Shell and Non-Login Shell?
I understand the basic difference between an interactive shell and a non-interactive shell. But what exactly differentiates a login shell from a non-login shell? Can you give examples for uses of a ...
53 votes
6 answers
354k views
systemd "status=203/EXEC" error when creating new service
I've created a new service for a Python script that works when running standalone but gives errors below when run through systemd : Oct 02 12:17:09 raspberrypi systemd[1]: Started Read pressure And ...
2 votes
1 answer
7k views
Starting systemd service inside systemd service causes deadlock
I have a systemd service (let's call it first.service) that calls a bash script. In that bash script I first stop and then start another service with systemctl (e.g. systemctl start another.service. ...
4 votes
0 answers
13k views
Reading/Writing to TTY using systemd
I have an application that writes and reads to an interactive terminal, and when I run it via the shell, it works as expected. However, when I run it as a systemd service, it seems as though the ...
5 votes
2 answers
3k views
Unattended upgrades won’t use mailx when run by Systemd
I have setup unattended-upgrades on servers running Raspbian (Raspbian GNU/Linux 9.4 (stretch)). Version of Unattended-upgrades: 0.93.1+nmu1 Updates work, but I am having problems with the email ...
2 votes
0 answers
6k views
Running a binary as systemd service does not work
I have a go project and when I compile it I get your typical binary. If I call the binary directly from the command line with the adequate inputs, it runs perfectly well. I want to make this program ...
1 vote
1 answer
5k views
Failure to start custom service using systemd [closed]
Good morning, We are trying to start a custom service on a Raspberry PIZero Wireless. The procedure we are using works on a PI3 under Ubuntu 14.04. The PiZero runs 2017-04-10-raspbian-jessie. I'll ...
1 vote
1 answer
2k views
How to start git-daemon at boot?
I've created scripts to control starting, stopping, etc. of my git-daemon on Fedora28. I'm now attempting to link these scripts to a systemd service so git-daemon will be available after reboot. The ...
3 votes
1 answer
2k views
Systemd sends exit signal to service on startup
This is my systemd service on ubuntu 16.04: [Unit] Description=Starts Caspar CG [Service] Type=forking WorkingDirectory=/home/broadcastingza/CasparCG/Server Environment=DISPLAY=:0 ExecStart=/bin/sh ....
0 votes
2 answers
3k views
Can't access server after running it with a systemd service
I am trying to continuously run a nodeJs server on my VPS, I made a systemdservice and started it. I worked by my server is still not accessible, I can check the status and it works Okey : Service ...
0 votes
2 answers
2k views
Purpose of $DISPLAY in X-Windows
What is the purpose of the $DISPLAY variable in X-Windows? How does it work? I'm running fedora off a VM and don't know if I'm running X-Windows correctly to even answer the question. I go to the ...
0 votes
1 answer
2k views
Why I can not install qt5-default on raspbian buster
I used katoolin to install some updated qt5 softwares. After I removed the links from the sources.list file everything was okay. I uninstalled the qt5-default then. Today when I tried to install qt5-...
1 vote
1 answer
1k views
Oracle instant client module not found when PHP script run from a systemd service unit
A Debian server has a standard systemd service unit installed: phpsessionclean. It is called every 30', invoking the shell script /usr/lib/php/sessionclean, which in turn invokes a small inline php ...
1 vote
1 answer
1k views
Maven application runs alone but not with systemd
I am trying to run Sphinx4-Http-server on RHEL. If I am in the directory /home/alex/Sphinx4-HTTP-server and run the command /home/alex/apache-maven-3.6.1/bin/mvn exec:java -Dexec.mainClass="org.jitsi....
0 votes
0 answers
648 views
Running dot net application as daemon
I have been trying to run a simple dot net application as a daemon. I took a help from many of the below given links and did as suggested. Links: http://pmcgrath.net/running-a-simple-dotnet-core-linux-...