Skip to content

Instantly share code, notes, and snippets.

@lopesivan
Created April 26, 2026 08:30
Show Gist options
  • Select an option

  • Save lopesivan/577d559ba04fc6554ed713e682c99f5d to your computer and use it in GitHub Desktop.

Select an option

Save lopesivan/577d559ba04fc6554ed713e682c99f5d to your computer and use it in GitHub Desktop.
workspace-setup.service
# /etc/systemd/system/workspace-setup.service
[Unit]
Description=Workspace Setup Script
After=local-fs.target
[Service]
ExecStart=/opt/scripts/workspace-setup.sh
#ExecStartPost=/bin/systemctl start another-service.service # Opcional, se precisar iniciar outro serviço após o script
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment