File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,7 @@ static Config()
166
166
. Build ( ) ;
167
167
Log = GetLog ( ) ;
168
168
LoggerFactory = new NLogLoggerFactory ( ) ;
169
+ Log . Info ( "Log path: " + CurrentLogPath ) ;
169
170
}
170
171
catch ( Exception e )
171
172
{
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ internal static class Program
27
27
28
28
internal static async Task Main ( string [ ] args )
29
29
{
30
+ Console . WriteLine ( "Confinement: " + SandboxDetector . Detect ( ) ?? "None" ) ;
30
31
if ( args . Length > 0 && args [ 0 ] == "--dry-run" )
31
32
{
32
- Console . WriteLine ( "Confinement: " + SandboxDetector . Detect ( ) ) ;
33
33
Console . WriteLine ( "Database path: " + Path . GetDirectoryName ( Path . GetFullPath ( DbImporter . GetDbPath ( "fake.db" , Environment . SpecialFolder . ApplicationData ) ) ) ) ;
34
34
if ( Assembly . GetEntryAssembly ( ) . GetCustomAttribute < UserSecretsIdAttribute > ( ) is UserSecretsIdAttribute attribute )
35
35
{
Original file line number Diff line number Diff line change @@ -3,11 +3,13 @@ services:
3
3
bot :
4
4
image : rpcs3/discord-bot:latest
5
5
volumes :
6
+ # host_path:container_path
6
7
- /home/MY_USER_NAME/.local/share/compat-bot:/bot-db
7
8
- /home/MY_USER_NAME/.microsoft/usersecrets/c2e6548b-b215-4a18-a010-958ef294b310:/bot-config
8
9
- /var/logs/compat-bot:/src/CompatBot/logs
9
- - /ver /ird:/var/ird
10
+ - /var /ird:/var/ird
10
11
environment :
11
12
Token : MY_BOT_TOKEN
13
+ # paths inside container
12
14
LogPath : /var/logs/compat-bot
13
15
IrdCachePath : /var/ird
You can’t perform that action at this time.
0 commit comments