1. Ubuntu/22.04LTS/daemontools

ConoHa VPS 2GB でもsystemd 起動できた。-- ToshinoriMaeno 2024-03-24 22:56:15

# cat daemontools.service

[Unit]
Description=Daemontools service supervision

[Service]
ExecStart=/command/svscanboot /service/
Restart=always

[Install]
WantedBy=multi-user.target

# systemctl start daemontools.service


# systemctl status daemontools.service
● daemontools.service - Daemontools service supervision
     Loaded: loaded (/lib/systemd/system/daemontools.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2024-03-24 23:35:30 JST; 19s ago
   Main PID: 918 (svscanboot)
      Tasks: 22 (limit: 2219)
     Memory: 31.7M
        CPU: 192ms
     CGroup: /system.slice/daemontools.service
             ├─918 /bin/sh /command/svscanboot /service/
             ├─920 svscan /service
             ├─921 readproctitle service errors: ..........................................................>
             ├─922 supervise smtpd
             ├─923 supervise log
             ├─924 supervise start
             ├─925 supervise log
             ├─926 supervise tinydns
             ├─927 supervise log
             ├─928 supervise wiki
             ├─929 supervise log
             ├─930 qmail-send
             ├─931 /usr/bin/python2 /usr/local/bin/moin --config-dir=/home/wiki/moin server standalone --in>
             ├─932 multilog t ./main
             ├─933 multilog t n30 s300000 ./main
             ├─934 multilog t n30 ./main
             ├─935 tcpserver -hvRUldnsq.info -c4 -x /service/smtpd/data.cdb 160.251.206.108 smtp /var/qmail>
             ├─936 /usr/local/bin/tinydns
             ├─937 multilog t n30 s300000 ./main
             ├─938 qmail-lspawn ./Mailbox
             ├─939 qmail-rspawn
             └─940 qmail-clean

Mar 24 23:35:30 vm-837b944d-20 systemd[1]: Started Daemontools service supervision.

MoinQ: Ubuntu/22.04LTS/daemontools (last edited 2024-03-26 00:24:18 by ToshinoriMaeno)