Skip to content

Instantly share code, notes, and snippets.

@archcloudlabs
Created August 9, 2020 19:13
Show Gist options
  • Save archcloudlabs/f05d71d6175a11bd0946cb065b2f5d1a to your computer and use it in GitHub Desktop.
Save archcloudlabs/f05d71d6175a11bd0946cb065b2f5d1a to your computer and use it in GitHub Desktop.
Systemd Service for payload execution
[Unit]
Description=root
[Service]
Type=oneshot
User=root
ExecStart=/bin/bash -c PAYLOAD
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment