- Create a service file at
/usr/lib/systemd/system/<name>.service systemctl enable <name>systemctl start <name>
Service template:
[Unit]
Description=
[Service]
/usr/lib/systemd/system/<name>.servicesystemctl enable <name>systemctl start <name>Service template:
[Unit]
Description=
[Service]
| ### Keybase proof | |
| I hereby claim: | |
| * I am brunneis on github. | |
| * I am brunneis (https://keybase.io/brunneis) on keybase. | |
| * I have a public key ASCtEkh-r6DR4wevfrOLt0wPyDXSdjRzU3Xa0Opu8pagnAo | |
| To claim this, I am signing this object: |
| sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / |
dnf -y install ethtool
ethtool -s eth0 wol g
Show the available interfaces:
nmcli device
Edit the interface configuration file
/etc/sysconfig/network-scripts/eth0
| #!/bin/bash | |
| timedatectl set-timezone UTC |
| #!/bin/bash | |
| # Misc | |
| yum -y update | |
| yum -y install epel-release | |
| yum -y install htop nano git | |
| yum -y groupinstall "Development Tools" | |
| # Yarn / Node | |
| curl -sL https://dl.yarnpkg.com/rpm/yarn.repo -o /etc/yum.repos.d/yarn.repo |
| #!/bin/bash | |
| brew install leveldb | |
| CFLAGS='-mmacosx-version-min=10.7 -stdlib=libc++' pip install plyvel |
| # VM_PAGER_COMPRESSOR_NO_SWAP | |
| sudo nvram boot-args="vm_compressor=2" |