systemctl Questions
2
Solved
I have a problem with automatic running of service. I would like to run a script after user login. Once I have succeeded, however when I tried to automatize it, I'm getting an error and I can't fin...
Contention asked 2/1, 2018 at 17:43
3
Solved
like using systemctl is-active <servicename> gives is if service is active or failed then is it possible to get the uptime or downtime of the systemd service all using systemctl ?
time system...
4
Solved
I am using Ubuntu on WSL2 (not on Docker Desktop).
According to How to fix docker ‘Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?’ on Ubuntu, I ca...
4
Solved
is it possible to get status for specific systemd service
$ systemctl -a | grep sshd.service
sshd.service loaded active running OpenSSH server daemon
$
but without grep, only with systemctl ? S...
Postwar asked 19/2, 2020 at 10:54
3
I have a simple example of a service unit and bash script on Red Hat Enterprise Linux 7 using Type=notify that I am trying to get working.
When the service unit is configured to start the script ...
3
I'm trying to run my asp .net core app as a service under Ubuntu 16.04.
I've created service configuration following this documentation
[Unit]
Description=TNW Main Service
[Service]
WorkingDirect...
Decortication asked 10/9, 2019 at 11:5
3
Solved
I want to see output from my systemctl commands. For example:
systemctl restart systemd-networkd
would display the output of
systemctl status systemd-networkd.
I know that I could write a s...
Monoicous asked 21/3, 2018 at 0:6
2
Solved
I have a nodeJS service built using NodeJs. This service requires some environment variables to be passed to it. Moreover, I created a systemd unit file to start it from systemctl. For some weird r...
Insufferable asked 28/7, 2017 at 13:34
3
Solved
Using:
Ubuntu 20.04.2 LTS
Java 1.8.0_322
Jenkins 2.332.1
I've been attempting to change the HTTP port or the User in /etc/default/jenkins file. However the changes are not picked up once I do:
su...
32
nginx.service failed because the control process exited
$ systemctl status nginx.service
nginx.service - Startup script for nginx service
Loaded: loaded (/usr/lib/systemd/system/nginx.service; e...
3
I'm trying to create a service which runs several scripts using ExecStart and some of them can be failed. I need to ignore these failed scripts and return a success for the service.
Previously I u...
Appendicle asked 8/7, 2019 at 5:4
2
Solved
I'm trying to add my first service on rhel7 (which resides in AWS/EC2), but - the service is not configured correctly - as I get:
[ec2-user@ip-172-30-1-96 ~]$ systemctl status clouddirectd.service ...
Decrescendo asked 9/1, 2018 at 20:32
0
Problem :
New DAGs or changes to existing DAGs are not showing up on Airflow web server to use in the App.
For example. Suppose I add a new DAG in the DAG directory:
What does work:
If I run $ air...
Monogenetic asked 13/12, 2021 at 17:15
4
Solved
I always run my Apache server in this way:
sudo service apache2 start
But in many guides I saw commands like this:
sudo systemctl start apache2
Can somebody shortly write the difference...
1
Solved
I wanted to determine why systemd-timesyncd refused to start at bootup without logging anything or offering useful information in systemctl status.
# systemctl status systemd-timesyncd
* systemd-ti...
11
Solved
I've been trying to use Docker (1.10) on Ubuntu 16.04 but installation fails because Docker Service doesn't start.
I've already tried to install docker by docker.io, docker-engine apt packages and ...
Coadjutor asked 14/5, 2016 at 13:36
2
I want to create system service, which (for each user) will be started just after user login and do some job inside user's $HOME with root privelegies.
Here is sample service:
[Unit]
Description=...
3
I am trying to build a mongo 4.4 image based on the official image Dockerfile but I am running into an issue with systemctl not found. The image itself has a line to remove it after setup, but not ...
Lobel asked 2/9, 2020 at 15:51
2
I have a eth0.link file to change MAC address of interface eth0. I want to apply this change without reboot. I tried
systemctl daemon-reload
systemctl daemon-reexec
systemctl restart systemd-netwo...
Scilla asked 8/7, 2020 at 6:4
2
Though SLURM works fine for job submitting, running, and queueing, I got a minor error below.
sudo systemctl status slurmd
Jun 12 10:20:40 noki-System-Product-Name systemd[1]: slurmd.service: Can...
1
I am trying to create a service to run by .net application on ubuntu 18.04.
cd /lib/systemd/system/YellowPages.service
[Unit]
Description = Yellow pages .NET service
[Service]
Type=forking
Working...
Erund asked 1/7, 2020 at 6:50
1
Solved
Systemd supports aliases. For example "httpd.service"
ls -l /etc/systemd/system/httpd.service
/etc/systemd/system/httpd.service -> /usr/lib/systemd/system/apache2.service
Content of this fil...
2
I have a python script myScript.py which is writing on a file every 2 second. But when I want to run this script as a systemd service, service works but not writing on file.
I created a myscript.s...
0
I am using Ubuntu version 18.04.3 LTS (Bionic Beaver). The default version of systemd with this version of ubuntu is 237.
I am need to upgrade systemd to version 239.
What is the recommended proc...
Mulciber asked 2/12, 2019 at 23:3
2
I've a daemon-like process that starts two subprocesses (and one of the subprocesses starts ~10 others). When I systemctl stop my process the child subprocesses appear to be 'aggressively' killed b...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.