New answers tagged

0

You asked multiple questions. I'll answer the question: "Why doesn't my custom systemd service start at boot?" The answer is because you haven't enabled it. When you run systemctl enable my-service-name, The [Install] block in your Unit file is acted upon. In this case, you have instructed systemd to start up the service as part of reaching the multi-user....


0

Obviously, you are not loading the config file, to load an OpenSSL config file, you must specify the path through an environment variable : export OPENSSL_CONF=/path/to/config Then you can run openssl engine pkcs11 -t -c At least, the correct engine and module will be loaded. If you still have errors, you need to make a new post.


0

Actually, the best answer I believe is the combination of the two answers already posted. In order to change the device name without restarting network services, use the ip link commands suggested by James Shewey (ip link set <old_device_name>; name <new_device_name>). To make the changes survive a reboot in Red Hat Linux, modify the relevant file in ...


0

From the man page: screen [-opts] [n] [cmd [args]|//group] So to run mc on startup, your .screenrc should contain at least screen mc If your terminal settings are broken, it may be that your system does not contain a entry for screen in the terminal database. In this case, you could try telling it to treat screen as a VT100 with this alternate ...


0

There is an official package now for this task called app-portage/portpeek. It can find obsolete USE flags and obsolete KEYWORDS and clean the files, if -f (fix) is added as parameter.


0

I encountered this issue when my wifi device was in 'Access Point' Mode. I changed mode to 'client'. Then command started working perfectly. Command works with 'ad-hoc' mode as well.


2

With PC-BSD 11.0-CURRENTJUNE2016 I can reproduce the problem with fonts in KDE Plasma 4 (not in Lumina) by disabling anti-aliasing – – or by disabling anti-aliasing then selecting system settings: Workaround Enable anti-aliasing – – after which, it's OK to re-select system settings: I could not reproduce the problem that affected progress ...


0

I believe, that this was solved by adding: xdebug.idekey=ECLIPSE_DBGP xdebug.remote_autostart=1 to the php.ini configuration file.


2

tar There is a plethora of possibilities on how to perform this. A common way that i saw people using since a long time ago was to build a script that just tar's all their configuration; then they just download the tar file and unpack. It could involve a file called myconf with a content like: .vimrc .bashrc .profile .xinitrc .vifm .xmonad Then you run ...


1

My suggestion would be to have your configurations on a flash drive, remote server, or remote repository (GitHub is always nice). That way it is a quick plug in, scp, or git away from being where you need it. Another option is to carry a persistent bootable flash drive with you. Your settings and configurations will be one boot away when hardware is around. ...


0

.xsessionrc is executed for all session types. The session type is available in the variable STARTUP (for most session types), so you can put conditional statements in your .xsessionrc: case "$STARTUP" in xmonad-session) …;; gnome-session) …;; esac The X session startup scripts are documented in Xsession(5). You may need to read the code in /etc/X11/...


1

Unless you explicitly define a default server, nginx will use the first server with a matching port (for any request where there is no explicit server_name match). See this document for details. You should create a catch all server block, for example: server { listen 80 default_server; ... }


1

Those options work by passing options to the compiler, so the most straightforward way is to recompile the kernel. However for a reproducible and module-specific way kbuild allows you to set custom CFLAGs on a per-module basis. https://www.kernel.org/doc/Documentation/kbuild/makefiles.txt You particularly want to set -fno-stack-protector for the modules ...


0

I was able to resolve my issue. In my .i3/config file I am using this line - # start dmenu (a program launcher) # bindsym $mod+d exec dmenu_run # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. bindsym $mod+d exec --no-startup-id i3-dmenu-...


0

Maybe you have a semaphore problem... Try to change your sysctl values: kernel.msgmni = 1024 kernel.sem = 250 32000 100 512 kernel.shmmax = 16296951808 kernel.shmall = 17039360 Reload, and try to restart. Regards


0

The Answer given by @James Shewey seems to be the right way to do it. If you want to just work with the config files in /etc/sysconfig/network-scripts and then trigger a reload, unloading and loading the kernel module as mentioned by @Tom Hunt in the comments also works: service network stop modprobe -r igb modprobe igb service network start If you ...


1

So, thanks to http://unix.stackexchange.com/users/28235/n-st, the correct config is : Match Group www-user User *,!yorunokoe ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no PermitTunnel no X11Forwarding no That limit all users in www-user except user yorunokoe to sftp.



Top 50 recent answers are included