systemd_script_to_run_a_bash_script_once_on_startup

Systemd Script to run a bash script once on startup

[Unit]
Type=simple
Description=SNAT for nodes
Wants=network-online.target
After=network.target network-online.target

[Service]
ExecStart=/srv/admin/SNAT.sh

[Install]
WantedBy=multi-user.target
  • systemd_script_to_run_a_bash_script_once_on_startup.txt
  • Last modified: 11.10.2018 18:00
  • by Pascal Suter