This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| COMPOSE_PROJECT_NAME=wordpress #プロジェクト名 | |
| MYSQL_HOSTNAME=db #MySQLに指定したサービス名 | |
| MYSQL_DATABASE=hoge_database #データベース名 | |
| MYSQL_USER=hoge_chan #ユーザー名 | |
| MYSQL_PASSWORD=hogehuga #パスワード | |
| MYSQL_ROOT_PASSWORD=piyopiyo #マスターパスワード | |
| TZ=Azia/Tokyo #タイムゾーン設定 変えてはいけない。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # VRChat Avatar SDK update script (with loop) | |
| # Version : 1.0_Windows-Powershell | |
| # Created Date : 2023-10-27 | |
| # Created by : waya0125@wayamoti2015 | |
| # Description : VRCSDK Update Script | |
| # Usage : .\VRCSDK-Updater_Windows_v1.1.ps1 | |
| # Note : このスクリプトは、VRCSDKのアップデートを自動で行うスクリプトです。 | |
| # このスクリプトを実行すると、VRCSDKの最新版が自動で最新のものに置き換えられます。 | |
| # 最新の更新があることを確認してから実行してください。 | |
| # なお、インストールに必要なvrc-getがない場合、またscoopがない場合は両方もしくは片方をインストールします。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo OFF | |
| CHCP 65001 | |
| REM 20211212_V1.00 初版発行 | |
| REM 20220913_V1.10 若干改良 | |
| REM 20230316_V2.00 Umamusume_UserChanger、UPBB_Zipperから良いところを取り入れた | |
| REM このスクリプトの使い方!: 実行してアーカイブしたい項目選んで指示に従うだけ。おわり | |
| REM バージョンアップするとき、プロジェクトに大規模な変更を加えた後に戻したかったときとか、壊れて戻せませんエーンとならないためにも実行しようね。 | |
| REM ※注意※ この実行ファイルは梱包したいUnityProject FilesのRootにおいて使って下さい。そこ以外にやっても意味がないです |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @ECHO OFF | |
| CHCP 65001 | |
| cls | |
| ECHO ######################################### | |
| ECHO #### Unity Project Backup Batchfiles #### | |
| ECHO #### VERSION:20221017_V2.00 #### | |
| ECHO ######################################### | |
| REM GitHubのCommit前、GitHubからCommitを下ろす際、壊れて戻せませんエーンとならないためにも実行しようね。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Misskey Server Daemon | |
| # Service name to misskey.service | |
| [Service] | |
| # Execute user | |
| User=misskey | |
| # Type of service | |
| Type=simple | |
| # What if the service is terminated? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Cloudflared Updater | |
| # サービス名はcloudflared_update.service | |
| [Service] | |
| User=root | |
| Type=oneshot | |
| WorkingDirectory=/tmp | |
| # すべての環境で動くようにするためにすべてのコマンドを実行している |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Run as run user | |
| sudo su - run << BASH | |
| # Message post. | |
| echo "Updating WayaDiscordBot..." | |
| # Move to working folder. | |
| cd /path/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Discord Bot Service | |
| [Service] | |
| WorkingDirectory=/path/ | |
| Type=simple | |
| Restart=always | |
| ExecStart=/usr/bin/node build/index.js | |
| ExecReload=/bin/kill -HUP $MAINPID |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Get the date of when it was executed. Include date if necessary. | |
| # original→ $(date +\%Y\%m\%d_\%H-\%M-\%S) | |
| TIME=$(date +\%Y\%m\%d) | |
| # Run as postgres user | |
| su - postgres << BASH | |
| echo "Backup start." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Stop PostgreSQL task. (using system service) | |
| sudo systemctl stop postgresql | |
| # Check in db_restore.gz | |
| # This script assumes installation in /tmp/db_restore.gz | |
| # You can automatically change the confirmation destination by rewriting in the variable. | |
| PATH="/tmp/db_restore.gz" |
NewerOlder