Questions tagged [systemctl]

systemctl is used to control the systemd system and service manager.

systemctl can be used to control the systemd system/service manager.

Reference: http://www.dsm.fordham.edu/cgi-bin/man-cgi.pl?topic=systemctl

503 questions
-1
votes
1 answer

Systemctl service not executed on boot

I created a short script to set an interface to down, [Unit] Description=Down [Service] Type=simple ExecStart=/usr/bin/base -c 'ifconfig eth0 down' I have done systemctl enable, and systemctl start works as expected to set the interface to…
Sandbo
  • 79
  • 11
-1
votes
2 answers

Is it possible to attach to a session that is being used by a service similar to the screen command?

I am running a game server as a service using systemctl to start and stop a script that runs the whole thing. I tried to modify the script to let me use a screen so I could attach to the process that the server is being run on, and issue commands.…
-1
votes
1 answer

Start Airflow Webserver Automaticalll as a Service

I currently would like to write a system configuration file that starts the airflow webserver. Here is my config file definition: #airflow-webserver.service [Unit] Description=Airflow webserver daemon After=network.target postgresql.service…
Lazloo Xp
  • 858
  • 1
  • 11
  • 36
-1
votes
1 answer

strongswan configuration and traffic on tunnel problem IKEv2

im new in this scope. I tried to configure strongswan site-to-site with centos7 (different region) at google cloud platform. Ive done follow this…
-1
votes
1 answer

systemctl start service in Dockerfile script

I am trying to build the docker image using CentOS 7.7 as my base docker image which is systemd image. Now, my requirement is like this: install the first RPM which starts the systemctl start my-process and this process required to be started in…
Niraj Nandane
  • 1,318
  • 1
  • 13
  • 24
-1
votes
1 answer

How to run multiple ExecStart in kafka.service for Multiple brokers in Kafka?

I want to run multiple ExecStart in one service. I configure like this, [Unit] Description=Apache Kafka…
RamS
  • 49
  • 8
-1
votes
1 answer

Ignite service start failed but ansible task does not fails

I am trying to write ansible(version 2.6.17) playbook to install ignite(2.7.6) in a linux server as a systemd service. The playbook run completes without failure. PLAY [install ignite in servers] …
bhavanak
  • 255
  • 1
  • 12
-1
votes
1 answer

Android Platform Tools: "A stop job is running for Session 2 of UserX", and I have to wait 90 seconds to power down

I have recently begun using KVM acceleration with libvirtd on my Arch Linux box for some mobile application development, and now every time I go to shut down the system I have to wait 90 seconds for "A stop job is running for Session 2 of UserX" to…
Zack
  • 294
  • 1
  • 10
-1
votes
1 answer

How to run a shell which will stop current process?

The program processA is a Linux service, launched by "systemctl start processA". This process will call std::system to run a shell script to upgrade software. The script will run "systemctl" to stop processA first, then replace some executable…
Jason Wang
  • 14
  • 3
-1
votes
1 answer

How to build startup/shutdown scripts for 2 or more servers that require to run in a specific order?

I have set up an application running in 2 servers: Server 1 contains the main Administration module Server 2 contains additional modules that need to start up after the Admin module is up and running and have created the systemd files to start up…
Beto
  • 132
  • 2
  • 12
-1
votes
1 answer

Is there a file that states which services are enabled/disabled for systemctl?

CONTEXT I'm a Linux newbie and I've been exploring CentOs 7. PROBLEM I'm having troubles understanding where does Systemd keeps track of the enabled and disabled services. You can pick as example httpd. Where can I see if httpd is enabled or…
Nelssen
  • 1,023
  • 1
  • 17
  • 42
-1
votes
1 answer

How can I start docker.service after nslcd.service?

All my unix host use the ldap backend. docker group is existing on the ldap, this is also why docker.service must start after nslcd.service. I have tried to edit systemctl startup configuration for docker.service: $ sudo systemctl edit --full…
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
-1
votes
4 answers

Mongodb service fails after reboot

I am trying to setup a replicaset for my dev environment, and have three machines running debian 9.3 stretch with a mongod service. The replicaset is working, and all seems okay. But when I reboot one of the servers the mongod service doesn't come…
-1
votes
1 answer

How to start Kamailio on boot

I am trying to start the Kamailio Service on Ubuntu when the system boots. I have tried using the commands "service kamailio enable" and "systemctl enable kamailio.service," but the service still does not start on boot. Any help would be…
-1
votes
1 answer

httpd service on RHEL7 restarts automatically even after force kill

Every time when I stop the httpd service, it automatically coming up. Below is the config file. [root@server ~]# cat /usr/lib/systemd/system/httpd.service [Unit] Description=The Apache HTTP Server After=network.target remote-fs.target…
karthikeayan
  • 4,291
  • 7
  • 37
  • 75
1 2 3
33
34