Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
# need install asconnect: pip install asconnect, and openai: pip install openai | |
import asconnect | |
import os | |
import openai | |
#api key: https://developer.apple.com/documentation/appstoreconnectapi/creating_api_keys_for_app_store_connect_api | |
APPCONN_APIKEY_ID = "xxxxx" | |
APPCONN_ISSUER_ID = "xxxxxxx" | |
APPCONN_KEY_FILE = "xxxxx.p8" |
#!/usr/bin/env bash | |
# Builds mpv & mpv.app on Apple silicon Macs. | |
# Run this script from the root directory of the mpv repo. | |
# if anything fails, gtfo | |
set -ex | |
meson setup build | |
meson compile -C build |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
As configured in my dotfiles.
start new:
tmux
start new with session name: