# launchd

Sample configuration of launchd for Teleport.

## Install

```
cp teleport.plist /Library/LaunchDaemons/
launchctl load /Library/LaunchDaemons/teleport.plist
```

## Status

```
launchctl list | grep -i teleport
```

## Logs

```
tail -f /var/log/teleport-stderr.log
```

## Restart

```
launchctl unload /Library/LaunchDaemons/teleport.plist && \
launchctl load /Library/LaunchDaemons/teleport.plist
```

# launchd

Sample configuration of launchd for Teleport.

## Install

```
sudo cp teleport.plist /Library/LaunchDaemons/
sudo launchctl load /Library/LaunchDaemons/teleport.plist
```

## Status

```
launchctl list | grep -i teleport
```

## Logs

```
sudo tail -f /var/log/teleport-stderr.log
```

## Restart

```
sudo launchctl unload /Library/LaunchDaemons/teleport.plist && \
sudo launchctl load /Library/LaunchDaemons/teleport.plist
```

Add sudo to launchd commands
Add sudo to launchd commands