Search
23:21:35
stassats
fixed, and i need to spin a new slime release soon, cause this is really annoying
1:30:32
Xach
i wish (unless (stringp object) (sb-ext:string-to-octets object ...)) would warn me harder!
10:22:32
Xof
help! how do I run sbcl in systemd without it quitting straight away?
10:30:43
scymtym
Xof: do you want the process to run continuously or just until it's done?
10:31:47
scymtym
i use [Unit] Description=… [Service] ExecStart=/absolute-path-to-dumped-image args
10:32:10
Xof
do you have a custom toplevel that sleeps or something?
10:32:20
Xof
I was using the standard toplevel with the repl
10:32:44
Shinmera
Xof: I just have a (loop (sleep 1))
10:32:56
scymtym
yeah, /absolute-path-to-dumped-image args waits until signaled and does not read from standard input
10:33:24
Shinmera
scymtym: It does quit for me.
10:33:44
Shinmera
Or do you mean you have a custom dump that sleeps?
10:34:31
scymtym
i can imagine that the default toplevel dies when it tries to read from standard input
10:35:07
Shinmera
Xof: You might also want something like Restart=on-abort if you want it to restart on a crash.
10:36:11
Shinmera
And setting User to not have it run as root, WorkingDirectory, etc. Systemd is a beast, for better or worse.
10:37:22
Xof
Yes. I have those bits. (I'm using systemctl --user so it's picking up the right user account, with loginctl enable-linger <user>)