Yes, it is our custom service: # cat /var/tmp/keepsessions.service [Unit] Description=SiteTools keep sessions Wants=network-online.target Wants=docker.service After=network-online.target After=docker.service
[Service] ExecStart=/opt/sitetools/keepsessions ExecStartPost=/opt/sitetools/onstart Restart=always WatchdogSec=5m Type=simple
[Install] WantedBy=multi-user.target
It does usual stuff, like open/close files, connect to consul, etc. Written in python3, nothing special.
Yes, it is our custom service: keepsessions. service SiteTools keep sessions online. target service online. target service
# cat /var/tmp/
[Unit]
Description=
Wants=network-
Wants=docker.
After=network-
After=docker.
[Service] /opt/sitetools/ keepsessions /opt/sitetools/ onstart
ExecStart=
ExecStartPost=
Restart=always
WatchdogSec=5m
Type=simple
[Install] multi-user. target
WantedBy=
It does usual stuff, like open/close files, connect to consul, etc. Written in python3, nothing special.