1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=Keylogger daemon [Service] Type=forking GuessMainPID=yes EnvironmentFile=/etc/conf.d/logkeysd ExecStart=/usr/bin/logkeys --start $LOGKEYS_PARAMS ExecStop=/usr/bin/logkeys --kill [Install] WantedBy=multi-user.target