Last active
February 20, 2017 19:35
Revisions
-
Pradeep Chhetri revised this gist
Feb 20, 2017 . No changes.There are no files selected for viewing
-
Pradeep Chhetri revised this gist
Feb 20, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -42,6 +42,6 @@ Feb 20 18:46:37 debian8 systemd[1]: Started LSB: Riemann server. ```bash root@debian8:~# systemctl reload riemann root@debian8:~# journalctl Feb 20 19:29:54 debian8 systemd[1]: Reloading LSB: Riemann server. Feb 20 19:29:54 debian8 systemd[1]: Reloaded LSB: Riemann server. ``` -
Pradeep Chhetri revised this gist
Feb 20, 2017 . 1 changed file with 4 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,10 +40,8 @@ Feb 20 18:46:37 debian8 systemd[1]: Started LSB: Riemann server. ``` ```bash root@debian8:~# systemctl reload riemann root@debian8:~# journalctl Feb 20 19:29:54 debian-512mb-nyc2-01 systemd[1]: Reloading LSB: Riemann server. Feb 20 19:29:54 debian-512mb-nyc2-01 systemd[1]: Reloaded LSB: Riemann server. ``` -
Pradeep Chhetri revised this gist
Feb 20, 2017 . 2 changed files with 16 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -37,4 +37,13 @@ root@debian8:~# systemctl status riemann Active: active (exited) since Mon 2017-02-20 18:46:37 UTC; 6min ago Feb 20 18:46:37 debian8 systemd[1]: Started LSB: Riemann server. ``` ```bash root@debian8:~# systemctl status riemann ● riemann.service - LSB: Riemann server Loaded: loaded (/etc/init.d/riemann) Active: active (exited) since Mon 2017-02-20 19:24:18 UTC; 4min 38s ago Feb 20 19:24:18 debian8 systemd[1]: Started LSB: Riemann server. ``` This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,4 +32,10 @@ ExecStop=/etc/rc.d/init.d/riemann stop Loaded: loaded (/etc/rc.d/init.d/riemann; bad; vendor preset: disabled) Active: inactive (dead) Docs: man:systemd-sysv-generator(8) ``` ```bash [root@centos7 ~]# systemctl reload riemann Failed to reload riemann.service: Job type reload is not applicable for unit riemann.service. See system logs and 'systemctl status riemann.service' for details. ``` -
Pradeep Chhetri revised this gist
Feb 20, 2017 . 1 changed file with 27 additions and 19 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,33 @@ ```bash root@debian8:~# dpkg -l | grep systemd ii libsystemd0:amd64 215-17+deb8u6 amd64 systemd utility library ii systemd 215-17+deb8u6 amd64 system and service manager ii systemd-sysv 215-17+deb8u6 amd64 system and service manager - SysV links ``` ```bash root@debian8:~# cat /run/systemd/generator.late/riemann.service # Automatically generated by systemd-sysv-generator [Unit] SourcePath=/etc/init.d/riemann Description=LSB: Riemann server Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target After=remote-fs.target systemd-journald-dev-log.socket Conflicts=shutdown.target [Service] Type=forking Restart=no TimeoutSec=5min IgnoreSIGPIPE=no KillMode=process GuessMainPID=no RemainAfterExit=yes SysVStartPriority=2 ExecStart=/etc/init.d/riemann start ExecStop=/etc/init.d/riemann stop ExecReload=/etc/init.d/riemann reload ``` ```bash @@ -20,13 +37,4 @@ root@debian8:~# systemctl status riemann Active: active (exited) since Mon 2017-02-20 18:46:37 UTC; 6min ago Feb 20 18:46:37 debian8 systemd[1]: Started LSB: Riemann server. ``` -
Pradeep Chhetri revised this gist
Feb 20, 2017 . 1 changed file with 15 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,10 @@ ```bash [root@centos7 ~]# rpm -qa | grep systemd systemd-219-30.el7_3.6.x86_64 systemd-sysv-219-30.el7_3.6.x86_64 systemd-libs-219-30.el7_3.6.x86_64 ``` ```bash [root@centos7 ~]# cat /run/systemd/generator.late/riemann.service # Automatically generated by systemd-sysv-generator @@ -18,4 +25,11 @@ GuessMainPID=no RemainAfterExit=yes ExecStart=/etc/rc.d/init.d/riemann start ExecStop=/etc/rc.d/init.d/riemann stop ``` ```bash [root@centos7 ~]# systemctl status riemann ● riemann.service - LSB: Starts Riemann Loaded: loaded (/etc/rc.d/init.d/riemann; bad; vendor preset: disabled) Active: inactive (dead) Docs: man:systemd-sysv-generator(8) ``` -
Pradeep Chhetri revised this gist
Feb 20, 2017 . 1 changed file with 21 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ ```bash [root@centos7 ~]# cat /run/systemd/generator.late/riemann.service # Automatically generated by systemd-sysv-generator [Unit] Documentation=man:systemd-sysv-generator(8) SourcePath=/etc/rc.d/init.d/riemann Description=LSB: Starts Riemann After=all.target [Service] Type=forking Restart=no TimeoutSec=5min IgnoreSIGPIPE=no KillMode=process GuessMainPID=no RemainAfterExit=yes ExecStart=/etc/rc.d/init.d/riemann start ExecStop=/etc/rc.d/init.d/riemann stop ``` -
Pradeep Chhetri revised this gist
Feb 20, 2017 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Setting up riemann (0.2.12) ... Processing triggers for systemd (215-17+deb8u6) ... ``` Last step during above installation **Processing triggers for systemd** runs ```bash $ systemctl daemon-reload ``` @@ -21,3 +21,12 @@ root@debian8:~# systemctl status riemann Feb 20 18:46:37 debian8 systemd[1]: Started LSB: Riemann server. ``` ```bash root@debian8:~# systemctl reload riemann root@debian8:~# journalctl Feb 20 19:00:20 debian8 systemd[1]: Reloading LSB: Riemann server. Feb 20 19:00:20 debian8 riemann[1793]: Reloading Riemann: riemannstart-stop-daemon: warning: failed to kill 1718: No such process Feb 20 19:00:20 debian8 riemann[1793]: failed! Feb 20 19:00:20 debian8 systemd[1]: Reloaded LSB: Riemann server. ``` -
Pradeep Chhetri revised this gist
Feb 20, 2017 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,8 +9,9 @@ Processing triggers for systemd (215-17+deb8u6) ... ``` **Processing triggers for systemd** runs ```bash $ systemctl daemon-reload ``` ```bash root@debian8:~# systemctl status riemann -
Pradeep Chhetri revised this gist
Feb 20, 2017 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,10 @@ Setting up riemann (0.2.12) ... Processing triggers for systemd (215-17+deb8u6) ... ``` **Processing triggers for systemd** runs **systemctl daemon-reload** ```bash root@debian8:~# systemctl status riemann ● riemann.service - LSB: Riemann server -
Pradeep Chhetri revised this gist
Feb 20, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Selecting previously unselected package riemann. Preparing to unpack riemann_0.2.12_all.deb ... Unpacking riemann (0.2.12) ... Setting up riemann (0.2.12) ... Processing triggers for systemd (215-17+deb8u6) ... ``` ```bash -
Pradeep Chhetri revised this gist
Feb 20, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Selecting previously unselected package riemann. Preparing to unpack riemann_0.2.12_all.deb ... Unpacking riemann (0.2.12) ... Setting up riemann (0.2.12) ... <b>Processing triggers for systemd (215-17+deb8u6) ...</b> ``` ```bash -
Pradeep Chhetri revised this gist
Feb 20, 2017 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,13 +5,14 @@ Selecting previously unselected package riemann. Preparing to unpack riemann_0.2.12_all.deb ... Unpacking riemann (0.2.12) ... Setting up riemann (0.2.12) ... **Processing triggers for systemd (215-17+deb8u6) ...** ``` ```bash root@debian8:~# systemctl status riemann ● riemann.service - LSB: Riemann server Loaded: loaded (/etc/init.d/riemann) Active: active (exited) since Mon 2017-02-20 18:46:37 UTC; 6min ago Feb 20 18:46:37 debian8 systemd[1]: Started LSB: Riemann server. ``` -
Pradeep Chhetri revised this gist
Feb 20, 2017 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,12 @@ ```bash root@debian8:~# dpkg -i riemann_0.2.12_all.deb Selecting previously unselected package riemann. (Reading database ... 35701 files and directories currently installed.) Preparing to unpack riemann_0.2.12_all.deb ... Unpacking riemann (0.2.12) ... Setting up riemann (0.2.12) ... Processing triggers for systemd (215-17+deb8u6) ... ``` root@debian8:~# systemctl status riemann ● riemann.service - LSB: Riemann server -
Pradeep Chhetri renamed this gist
Feb 20, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Pradeep Chhetri created this gist
Feb 20, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ root@debian8:~# dpkg -i riemann_0.2.12_all.deb Selecting previously unselected package riemann. (Reading database ... 35701 files and directories currently installed.) Preparing to unpack riemann_0.2.12_all.deb ... Unpacking riemann (0.2.12) ... Setting up riemann (0.2.12) ... **Processing triggers for systemd (215-17+deb8u6) ...** root@debian8:~# systemctl status riemann ● riemann.service - LSB: Riemann server Loaded: loaded (/etc/init.d/riemann) Active: active (exited) since Mon 2017-02-20 18:46:37 UTC; 6min ago Feb 20 18:46:37 debian8 systemd[1]: Started LSB: Riemann server.