User Tools

Site Tools


it:os:unit_file

Unit file – example

[Unit]
Description=Babel BE service
After=network.target postgresql.service
Requires=network.target postgresql.service

[Service]
Type=forking
User=babel
Group=babel

#Environment=
#RemainAfterExit=yes

ExecStart=/opt/babel/babel/bin/openfire start
ExecStop=/opt/babel/babel/bin/openfire stop

TimeoutSec=300

[Install]
WantedBy=multi-user.target
it/os/unit_file.txt · Last modified: 2019/08/02 11:18 (external edit)