Tag Info

New answers tagged

0

Please provide full start log : do this on comand line Go to mongod _log logfile then start mongod and post all log here. I try to help you start it's missing some logs here. Regards.


0

According to the Nginx documentation, SIGQUIT will perform a "graceful shutdown" while SIGTERM will perform a "fast shutdown". At least as of version 1.8.0, Nginx will leave stale UNIX domain sockets when it is stopped using the SIGQUIT signal. However, the UNIX domain sockets are properly removed when using the SIGTERM signal. The Nginx service script ...


2

You need to create two files: one for service, other for timer with same name. example: /etc/systemd/system/test.service [Unit] Description=test job [Service] Type=oneshot ExecStart=/tmp/1.sh /etc/systemd/system/test.timer [Unit] Description=test [Timer] Persistent=true OnUnitActiveSec=10s OnBootSec=10s [Install] WantedBy=timers.target after that ...


0

/etc/services is a conffile, so if you modify it locally and a new package version is installed with a modified version, dpkg will ask you whether to keep your version or install the new one. Unfortunately, it won't give you an easy way to merge your changes. You can divert the package-provided /etc/services and provide your own. dpkg-divert --add --local ...


1

This seems to come up in various bugtrackers from time to time: Debian #46049, Debian #711001, RH #133683. But none of these seem to be implemented. To recap: the Name Service Switch reads /etc/nsswitch.conf where to look for e.g. services information: $ strace -f -e open,stat getent services > /dev/null [...] open("/lib/x86_64-linux-gnu/libc.so.6", ...


0

Unfortunately there is no way of doing this. One option would be to "Hold" the netbase package so that it doesn't get updated automatically. echo "netbase hold" | dpkg --set-selections Another option might be to declare an /etc/services.local and submit a patch to the netbase maintainer that merged this file and its own /etc/services. I don't see that ...


3

brandbot: tool to write branding to /etc/os-release When you start it1, it looks for /var/lib/rhsm/branded_name and adds in /etc/os-release: PRETTY_NAME=first_line_from_branded_name 1Path-based activation — System services that support path-based activation can be started on-demand when a particular file or directory changes its state. Systemd uses path ...


1

It is a tool that write branding to /etc/os-release which in turn contain operating system identification data.


3

As far as I know, systemd won't deal with this particularly well. As I understand it, you want to override the behavior of sshd.service, right? Luckily for you, systemd is designed for this kind of thing. Simply put your service definition in /etc/systemd/system/ssh.service, execute systemctl daemon-reload to reload unit files, and systemd will ...


-1

It should be great include which version of Mule you are running, in any version 3.x.x you can go to %MULE_HOME%/bin and run the command: ./mule status and it will give you and output like this if is running: MULE_HOME is set to /opt/MuleSoftESB/mule-Poc Mule Enterprise Edition is not running. or if is not running: MULE_HOME is set to ...


1

You connect to the port that you've defined in /etc/services and /etc/xinetd. So either of these commands could work for you, assuming 10.0.0.3 is the remote server hosting the script.sh service: nc 10.0.0.3 3376 telnet 10.0.0.3 3376 If you're running a firewall on the remote server you will need to punch a hole through it for incoming sessions on ...


2

systemctl is not your dæmon. It is not even a process that spawns your dæmon. It is a program that tells the service manager process to spawn your dæmon via Desktop Bus RPC. So systemctl does not know anything about the command line arguments passed to your dæmon. Those are in your dæmon's service unit file, the ...



Top 50 recent answers are included