A systemd .service unit file has the following syntax:
[Unit]
Description=Custom Target by Trevor
Requires=network.target
After=network.target
[Service]
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
In the absence of an explicit Type= directive, what is the implied Type= directive
for this .service unit file?
@Trevor I believe implied Type= simple but one should add Type=oneshot and ExecStart for proper target behaviour.
https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.