systemd tag

7 questions


1 answers
348 views
0
I want to start TigerVNC as a service via systemd on Alma Linux

BackgroundI'm running Alma Linux to build a server.I would like to work remotely in a GUI environment by installing a VNC server in Alma Linux.I'm having a hard time getting in the VNC server.If you k...

2 years ago

2 answers
85 views
0
I would like to automatically start the python program using systemd in raspberry pie.

I'm a beginner in programming.Currently, I would like to run the python program as soon as I launch the raspberry pie.I searched the internet and found out that the python program can be started at th...


1 answers
85 views
0
td-agent cannot collect apache logs on amazon linux2

I installed td-agent on amazon linux2 and tried to collect apache log files, but I couldn't because of a permission problem.I can find a solution if I run the td-agent daemon with init.d, but which co...


1 answers
92 views
0
How to Pass the Path in the Systemd Unit File

To daemonize and automatically launch server programs written in PythonUntil you run the supervisor on Amazon linux 2I would like to refer to the above page and introduce supervisor on AWS EC2.The tar...


1 answers
87 views
0
What does the hyphen in the systemd unit file mean?

Create and modify unit files for systemd - Red Hat Customer Portal The Example 9.17 postfix.service Unit File on the page above contains:EnvironmentFile=-/etc/sysconfig/networkExecStartPre= - /usr/lib...

2 years ago

1 answers
128 views
0
Why is the process name shortened when I get the top command from a self-produced script that I started with systemctl?

In CentOS 8, we created a shell script that records the results of the top command in a log file every 10 seconds.#!/bin/shwhile truedo top-b-n 1 | head-30>>/var/log/process-logger.log sleep10do...


1 answers
64 views
0
What is the syntax for EnvironmentFile in systemd?

Failed to read man systemd.exec to set environment variables in systemd's service.So the explanation was as follows:Similar to Environment= but reads the environment variables from a text file. The te...

2 years ago

© 2024 OneMinuteCode. All rights reserved.