systemd service script for klogd - System Kernel Logging Service

# /lib/systemd/system/klogd.service # # This file is part of package klogd. # # Copyright (c) 2011 SuSE LINUX Products GmbH, Germany. # Author: Werner Fink # Please send feedback to http://www.suse.de/feedback # # Description: # # Used to start klogd, the System Kernel Logging Service # if and only if the System Logger does not provide this # its self. If the System Logger can do Kernel Logging # Service this file should be masked by a symbolic link # from /etc/systemd/system/klogd.service to /dev/null. # # If klogd.service is started then BindTo=syslog.service # within unit section to make it disappear if syslogd dies. # [Unit] Description=System Kernel Logging Service Requisite=syslog.service BindTo=syslog.service After=syslog.service RefuseManualStart=true [Service] Type=forking StandardOutput=syslog StandardError=syslog PIDFile=/var/run/klogd.pid Environment=KERNEL_LOGLEVEL=1 Environment=KLOGD_PARAMS= EnvironmentFile=-/etc/sysconfig/syslog ExecStart=/sbin/klogd -c $KERNEL_LOGLEVEL $KLOGD_PARAMS -x [Install] WantedBy=multi-user.target

sample License server system service script

# flexlm.service
[Unit]
Description=Flex License server
Wants=network.target network-online.target
After=network.target network-online.target

[Service]
Type=forking

# Update path to lmgrd, license.dat and license.log if file location changes

ExecStart=/usr/local/flex/license/lnxa64/lmgrd -c /usr/local/flex/license/license.dat -L /var/log/flex/license.log

#  define user and group - avoid using root user

User=licensed
Group=license

TimeoutSec=300

[Install]
WantedBy=multi-user.target

# Create /usr/tmp and set to 1777  ( chmod 1777 /usr/tmp )
#
# Copy this file to /usr/lib/systemd/system and type:
#  'systemctl enable flexlm' and 'system start flexlm' to active license manager



ebook:
Full Size
Jeep Buyer's
Guide
ebook:
Practical Suggestions
for Microsoft
Windows
Linux Tackles Microsoft
12 hour Video Course by john:
The Art of Linux System Administration
published by O'Reilly Media
Study Guide for the LPIC-2 Certification Exams
search for:
on the internet, or:
JohnMeister.com-fotos
LinuxMeister-Linux
BibleTech-
Bible overview


An overview of Biblical history:
"Promises and Prophets"

Wagoneers

FULL SIZE JEEPS

JeepMeister
"Jeep is America's
only real sports car."
-Enzo Ferrari


MeisterTech
Diesels +

One Page Overview of Linux Commands

click for an image of the 5 essential Linux commands

An Intro to Linux
AMSOIL product guide,
or, AMSOIL web, or 1-800-956-5695,
use customer #283461

Amsoil dealer since 1983
purchase AMSOIL
at Midway Auto on SR9 in Snohomish,
or at Northland Diesel in Bellingham, WA


SJ - 1962-1991

XJ - 1984-2001

WJ - 1999-2004

KJ - 2002-2007

WK - 2005-2010

Find the recommended
AMSOIL synthetics
for your Jeep

CJ-10A - 1984-1986

Jeepsters

MJ - 1984-1992

Willys - 1946-1965

Other Jeeps (FC)