/srv/irclogs.ubuntu.com/2019/07/13/#ubuntu-server.txt

ruben23hi guys i have a startup scrip named vicidial and wanted this to be run this every startup on my Ubuntu server 16.04 any idea how to do it.?01:06
sarnoldruben23: sticking a @reboot line in a crontab would be an easy way to do it01:08
sarnoldruben23: just be aware that cron has different PATH than your login shell :)01:08
ruben23should it not be put in /etc/init.d/01:10
ruben23then make like this update-rc.d -f vicidial defaults  <------------ is this still works.?01:10
sarnoldyes, that should still work too01:10
sarnoldruben23: you may or may not find this useful, too: https://wiki.ubuntu.com/SystemdForUpstartUsers01:13
ruben23ok thanks, where do we can view if how the startup script run during the startup of teh ubuntu server.? like logs01:17
tomreynruben23: /var/log/syslog* or journalctl -b01:18
tomreynruben23: the 'proper' way with systemd to run something at boot would be to create a systemd unit (start reading up on this if you'll upgrade to 18.04 LTS and beyond at some point).01:20
tomreynfor now, there are still compatibility wrappers for sysv init scripts (but i hope / wish they'll all be converted / dropped 'soon')01:22
mjcdholla all13:31
mjcdi'm looking for mouse support for the native terminals without window or desktop managers13:32
mjcdI tried um13:32
mjcdgpm13:32
mjcdbut it's super laggy13:32
mjcdpainful to use13:32
mjcdI know easiest solution is to ssh in from windows or wherever13:33
=== Pugs is now known as Pugsafk
ratracehi. anyone with experince with btrfs in kernels newer than 4.9? iam re-evaluating its feasibility for production storage, and would love to hear other people's experience.17:18
blackflowratrace: considered ZFS too? I wouldn't trust btrfs in prod.17:30
ratraceblackflow, considered but we have no interest in zfs. plus its future in linux is questionable due to license. prefer in-tree modules wherever possible.17:34
compdocI hadnt heard there were issues17:35
ratracecompdoc, debian has a wiki page full of warnings, and we had issues with earlier kernels (4.4 and 4.9) with unmountable filesystems after conversion of extent types from single to mirror17:37
hackeron_Hi there, I have an issue with journalctl, I set it to use 100M maximum, which for some reason gives me only 2 days of logs. When I run journalctl --disk-usage it shows 106M used but when I run journalctl | wc -c - there are only 7MB of logs. Any ideas?18:56
hackeron_I posted a question with more details here: https://serverfault.com/questions/975160/journalctl-disk-usage-shows-106m-while-journalctl-wc-c-shows-only-7mb-of-lo19:03
Walexratrace: Btrfs works well except for the multiple device layer. If you use it on a single block device (e.g. based on MD) it is quite reliable.20:08
ratraceWalex, that defeats almost all the advantages of btrfs20:14
Walexratrace: the main advantage of Btrfs is snapshots...20:15
andolWalex: Because everyone has the same use case and sees the same advantages?20:19
TJ-hackeron_:  the stored logs are binary and include lots of meta-data you don't see in the usual output20:22
Walexandol: because snapshots is the almost unique feature of Btrfs, unique if you count only in-kernel filesystems20:25
ratraceWalex, yes snapshots and checksumming, make the two top reasons we want btrfs.20:30
ratracechecksumming more than snapshots20:31
blackflowZFS has no issues with RAID levels tho'.21:16

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!