systemd Questions
2
Solved
A couple weeks a go I moved from Ubuntu 14.04 to 16.04 and found my Upstart script no longer worked, so feeling adventurous I managed to create a Systemd script that worked instead.
But I'm having...
Mistook asked 6/7, 2016 at 9:47
2
Solved
I have a Linux process that runs on RHEL7 and is started by systemd. When the process is stopped, I need to know if it is being stopped because of a system shutdown or reboot, and I need to be able...
3
I have a Java service (implemented using Dropwizard) which I'm launching from a user instance of systemd. So far so good. Now I would like to use systemd's notification features to make it aware of...
5
Solved
I have a computer at work which I sometimes wakeup from home in order to access it but when boots and gets another IP address from our DHCP server, how can I access it?
The situation and my “workfl...
Roden asked 4/3, 2016 at 20:20
4
Solved
When enabled sshd jail i see Starting fail2ban: ERROR NOK: ("Failed to initialize any backend for Jail 'sshd'",)
ERROR NOK: ('sshd',)
In logs :
ERROR Backend 'systemd' failed to initialize due to N...
3
Solved
I want to start node with pm2 and environment variables like --nouse-idle-notification or --max-old-space-size=2048.
However, whatever I do, it is not passing the node variables. I start my app wit...
Yogi asked 8/12, 2016 at 2:3
5
Solved
Shared Memory files getting deleted some time (~15 hours) in Postgres 11
2019-07-09 08:46:41 CDT [] [6723]: [1-1] user=,db=,e=58P01 ERROR: could not open shared memory segment "/PostgreSQL.2916916...
Symphonia asked 9/7, 2019 at 14:18
4
Solved
I run my python script as a systemd service, it is defined in the following .service file:
[Unit]
Description=MyService
After=multi-user.target
[Service]
Type=idle
ExecStart=/usr/bin/python3 /hom...
8
I'm writing a bash-script but I often face this issue.
When I try to start or stop a service I often get:
start request repeated too quickly
How can I solve this problem?
It's for example when I ...
Baluchistan asked 17/2, 2016 at 9:26
2
Solved
I would like to pass the content of a JSON file as an environment variable during the docker run. The docker run is initialed inside a systemd service file.
I did something like:
export TEMP_CONF...
Adhere asked 24/2, 2017 at 16:47
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
Currently I have slow starting java service in systemd which takes about 60 seconds until it opens its HTTP port and serves other clients.
Another client service expects this service to be availab...
3
I try to convert a SysVinit script used on Debian (and derivative distros such as Linux Mint and Ubuntu & Co.) to a systemd service to be used on Fedora or Arch Linux (and derivative distros su...
2
Solved
With journalctl, it is possible to remove the old logs, by specifying either the maximum disk space they can use, or the maximum age they can have, or the maximum number of separate journal files (...
Ulani asked 19/4, 2016 at 12:12
3
Solved
I would like to install Prometheus on port 8080 instead of 9090 (its normal default). To this end I have edited /etc/systemd/system/prometheus.service to contain this line:
ExecStart=/usr/local/bi...
Merely asked 21/11, 2017 at 13:42
1
I have a .NET API with a few Worker Services that I deploy on a CentOS 8 server. I know that there is a function in Microsoft.Extensions.Hosting package that is called UseSystemd(), which is suppos...
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...
2
I've setup a systemd service file to perform some pactl operations at system startup for a test process. While the commands work fine when performed from a terminal I always get "pa_context_connect...
Proselytism asked 10/2, 2014 at 21:18
7
My computer runs serveral java processes as systemd services.The systemd logs get accumulated in the syslog eventually leading to low disk space . How to re-direct the logs started by systemd servi...
2
I am aware of using systemctl status to check a particular status of the service and using systemctl enable to put a service in auto-start when system boot. But how can I list all exisiting auto-st...
22
I have an issue with a systemd config for ElasticSearch.
[Unit]
Description=platform-elasticsearch
After=syslog.target network.target remote-fs.target nss-lookup.target
[Service]
User={{ app_user...
Tutu asked 20/7, 2018 at 15:26
4
Solved
I want to write a daemon in python which gets started via systemd.
I want to use Type=notify, this way I don't have to do the double fork magic.
According to the docs:
The reference implementation...
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...
7
Solved
I have recently upgraded my ubuntu from 14.10 to 15.04. All features seems to be working fine except MongoDB. I am using mongoDB with ruby on rails application using Mongoid gem. MongoDB is not con...
5
Solved
I am trying to set a custom umask for a tomcat 8 instance, tried to make it the good way by using the UMask directive in systemd tomcat unit as seen here without luck.
I'd like to set a 022 umask ...
Dualism asked 1/2, 2017 at 9:9
1 Next >
© 2022 - 2024 — McMap. All rights reserved.