Skip to content

Commit e78d2d4

Browse files
committed
log to file
1 parent df14673 commit e78d2d4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

init/elmasy.service

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ User=elmasy
77
Group=elmasy
88
WorkingDirectory=/opt/elmasy
99
ExecStart=/opt/elmasy/elmasy
10+
StandardOutput=file:/var/log/elmasy.log
11+
StandardError=file:/var/log/elmasy.log
1012

1113
[Install]
1214
WantedBy=multi-user.target

0 commit comments

Comments
 (0)